Skip to content

Commit 95a2cca

Browse files
committed
Fix pg_description entries for jsonb_to_record() and jsonb_to_recordset().
All the other jsonb function descriptions refer to the arguments as being "jsonb", but these two said "json". Make it consistent. Per bug #13905 from Petru Florin Mihancea. No catversion bump --- we can't force one in the back branches, and this isn't very critical anyway.
1 parent e76281e commit 95a2cca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/catalog/pg_proc.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -4610,9 +4610,9 @@ DESCR("get record fields from a jsonb object");
46104610
DATA(insert OID = 3475 ( jsonb_populate_recordset PGNSP PGUID 12 1 100 0 0 f f f f f t s 2 0 2283 "2283 3802" _null_ _null_ _null_ _null_ jsonb_populate_recordset _null_ _null_ _null_ ));
46114611
DESCR("get set of records with fields from a jsonb array of objects");
46124612
DATA(insert OID = 3490 ( jsonb_to_record PGNSP PGUID 12 1 0 0 0 f f f f t f s 1 0 2249 "3802" _null_ _null_ _null_ _null_ jsonb_to_record _null_ _null_ _null_ ));
4613-
DESCR("get record fields from a json object");
4613+
DESCR("get record fields from a jsonb object");
46144614
DATA(insert OID = 3491 ( jsonb_to_recordset PGNSP PGUID 12 1 100 0 0 f f f f f t s 1 0 2249 "3802" _null_ _null_ _null_ _null_ jsonb_to_recordset _null_ _null_ _null_ ));
4615-
DESCR("get set of records with fields from a json array of objects");
4615+
DESCR("get set of records with fields from a jsonb array of objects");
46164616
DATA(insert OID = 3210 ( jsonb_typeof PGNSP PGUID 12 1 0 0 0 f f f f t f i 1 0 25 "3802" _null_ _null_ _null_ _null_ jsonb_typeof _null_ _null_ _null_ ));
46174617
DESCR("get the type of a jsonb value");
46184618
DATA(insert OID = 4038 ( jsonb_ne PGNSP PGUID 12 1 0 0 0 f f f f t f i 2 0 16 "3802 3802" _null_ _null_ _null_ _null_ jsonb_ne _null_ _null_ _null_ ));

0 commit comments

Comments
 (0)