Mark to_tsvector(regconfig,json[b]) functions immutable
authorAndrew Dunstan <[email protected]>
Thu, 8 Jun 2017 19:47:10 +0000 (15:47 -0400)
committerAndrew Dunstan <[email protected]>
Thu, 8 Jun 2017 19:47:10 +0000 (15:47 -0400)
This make them consistent with the text function and means they can be
used in functional indexes.

Catalog version bumped.

Per gripe from Josh Berkus.

src/include/catalog/catversion.h
src/include/catalog/pg_proc.h

index 00b835834b4a963deec317bfc8dc8d0d925cc011..c657241082420a0d3636273cabce7e3e95a7562c 100644 (file)
@@ -53,6 +53,6 @@
  */
 
 /*                         yyyymmddN */
-#define CATALOG_VERSION_NO 201705301
+#define CATALOG_VERSION_NO 201706081
 
 #endif
index 460cdb9ed816f8e49e68f0578d80d6bd13d4cbf1..6c44def6e6a63af2054f0bb9eefb10e96cb3b0eb 100644 (file)
@@ -4871,9 +4871,9 @@ DATA(insert OID = 4209 (  to_tsvector     PGNSP PGUID 12 100 0 0 0 f f f f t f s s
 DESCR("transform jsonb to tsvector");
 DATA(insert OID = 4210 (  to_tsvector      PGNSP PGUID 12 100 0 0 0 f f f f t f s s 1 0 3614 "114" _null_ _null_ _null_ _null_ _null_ json_to_tsvector _null_ _null_ _null_ ));
 DESCR("transform json to tsvector");
-DATA(insert OID = 4211 (  to_tsvector      PGNSP PGUID 12 100 0 0 0 f f f f t f s s 2 0 3614 "3734 3802" _null_ _null_ _null_ _null_ _null_ jsonb_to_tsvector_byid _null_ _null_ _null_ ));
+DATA(insert OID = 4211 (  to_tsvector      PGNSP PGUID 12 100 0 0 0 f f f f t f i s 2 0 3614 "3734 3802" _null_ _null_ _null_ _null_ _null_ jsonb_to_tsvector_byid _null_ _null_ _null_ ));
 DESCR("transform jsonb to tsvector");
-DATA(insert OID = 4212 (  to_tsvector      PGNSP PGUID 12 100 0 0 0 f f f f t f s s 2 0 3614 "3734 114" _null_ _null_ _null_ _null_ _null_ json_to_tsvector_byid _null_ _null_ _null_ ));
+DATA(insert OID = 4212 (  to_tsvector      PGNSP PGUID 12 100 0 0 0 f f f f t f i s 2 0 3614 "3734 114" _null_ _null_ _null_ _null_ _null_ json_to_tsvector_byid _null_ _null_ _null_ ));
 DESCR("transform json to tsvector");
 
 DATA(insert OID = 3752 (  tsvector_update_trigger          PGNSP PGUID 12 1 0 0 0 f f f f f f v s 0 0 2279 "" _null_ _null_ _null_ _null_ _null_ tsvector_update_trigger_byid _null_ _null_ _null_ ));