Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
7f17ae0a
Commit
7f17ae0a
authored
May 19, 2017
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix argument name differences
Different names were used between function declaration and definition.
parent
f6d5d22e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/backend/utils/adt/jsonfuncs.c
src/backend/utils/adt/jsonfuncs.c
+5
-5
No files found.
src/backend/utils/adt/jsonfuncs.c
View file @
7f17ae0a
...
...
@@ -411,8 +411,8 @@ static Datum populate_record_worker(FunctionCallInfo fcinfo, const char *funcnam
bool
have_record_arg
);
/* helper functions for populate_record[set] */
static
HeapTupleHeader
populate_record
(
TupleDesc
tupdesc
,
RecordIOData
**
record_
info
,
HeapTupleHeader
template
,
MemoryContext
mcxt
,
static
HeapTupleHeader
populate_record
(
TupleDesc
tupdesc
,
RecordIOData
**
record_
p
,
HeapTupleHeader
defaultval
,
MemoryContext
mcxt
,
JsObject
*
obj
);
static
Datum
populate_record_field
(
ColumnIOData
*
col
,
Oid
typid
,
int32
typmod
,
const
char
*
colname
,
MemoryContext
mcxt
,
...
...
@@ -3008,12 +3008,12 @@ JsObjectGetField(JsObject *obj, char *field, JsValue *jsv)
/* populate a record tuple from json/jsonb value */
static
HeapTupleHeader
populate_record
(
TupleDesc
tupdesc
,
RecordIOData
**
precord
,
RecordIOData
**
record_p
,
HeapTupleHeader
defaultval
,
MemoryContext
mcxt
,
JsObject
*
obj
)
{
RecordIOData
*
record
=
*
precord
;
RecordIOData
*
record
=
*
record_p
;
Datum
*
values
;
bool
*
nulls
;
HeapTuple
res
;
...
...
@@ -3031,7 +3031,7 @@ populate_record(TupleDesc tupdesc,
/* (re)allocate metadata cache */
if
(
record
==
NULL
||
record
->
ncolumns
!=
ncolumns
)
*
precord
=
record
=
allocate_record_info
(
mcxt
,
ncolumns
);
*
record_p
=
record
=
allocate_record_info
(
mcxt
,
ncolumns
);
/* invalidate metadata cache if the record type has changed */
if
(
record
->
record_type
!=
tupdesc
->
tdtypeid
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment