projects
/
users
/
andresfreund
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46444b5
)
fix a thinko
author
Andrew Dunstan
<
[email protected]
>
Tue, 25 Feb 2014 20:28:26 +0000
(15:28 -0500)
committer
Andrew Dunstan
<
[email protected]
>
Tue, 25 Feb 2014 20:28:26 +0000
(15:28 -0500)
src/backend/utils/adt/jsonb.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/jsonb.c
b/src/backend/utils/adt/jsonb.c
index 04bca976ecea0c0dd8b9e07abe0e96bddfe695c9..a9f05ea4e35026496ec9cc8b4847bd45f38e87b9 100644
(file)
--- a/
src/backend/utils/adt/jsonb.c
+++ b/
src/backend/utils/adt/jsonb.c
@@
-185,7
+185,7
@@
Datum
jsonb_recv(PG_FUNCTION_ARGS)
{
StringInfo buf = (StringInfo) PG_GETARG_POINTER(0);
- int version = pq_getint(buf, 1);
+ int version = pq_get
msg
int(buf, 1);
text *result;
if (version == 1)