mirror of
https://github.com/postgres/postgres.git
synced 2025-05-09 18:21:05 +03:00
Do pre-release housekeeping on catalog data, and fix jsonpath send/recv.
Run renumber_oids.pl to move high-numbered OIDs down, as per pre-beta tasks specified by RELEASE_CHANGES. (The only change is 8394 -> 3428.) Also run reformat_dat_file.pl while I'm here. While looking at the reformat diffs, I chanced to notice that type jsonpath had typsend and typreceive = '-', which surely is not the intention given that jsonpath_send and jsonpath_recv exist. Fix that. It's safe to assume that these functions have never been tested :-(. I didn't try, but somebody should.
This commit is contained in:
parent
90e7f31773
commit
c3f67ed6e4
@ -53,6 +53,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* yyyymmddN */
|
/* yyyymmddN */
|
||||||
#define CATALOG_VERSION_NO 201904251
|
#define CATALOG_VERSION_NO 201904281
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -925,9 +925,8 @@
|
|||||||
prorettype => 'bool', proargtypes => 'regclass int4 text',
|
prorettype => 'bool', proargtypes => 'regclass int4 text',
|
||||||
prosrc => 'pg_index_column_has_property' },
|
prosrc => 'pg_index_column_has_property' },
|
||||||
{ oid => '676', descr => 'return name of given index build phase',
|
{ oid => '676', descr => 'return name of given index build phase',
|
||||||
proname => 'pg_indexam_progress_phasename', provolatile => 'i',
|
proname => 'pg_indexam_progress_phasename', prorettype => 'text',
|
||||||
prorettype => 'text', proargtypes => 'oid int8',
|
proargtypes => 'oid int8', prosrc => 'pg_indexam_progress_phasename' },
|
||||||
prosrc => 'pg_indexam_progress_phasename' },
|
|
||||||
|
|
||||||
{ oid => '339',
|
{ oid => '339',
|
||||||
proname => 'poly_same', prorettype => 'bool',
|
proname => 'poly_same', prorettype => 'bool',
|
||||||
@ -5017,11 +5016,9 @@
|
|||||||
proname => 'pg_mcv_list_send', provolatile => 's', prorettype => 'bytea',
|
proname => 'pg_mcv_list_send', provolatile => 's', prorettype => 'bytea',
|
||||||
proargtypes => 'pg_mcv_list', prosrc => 'pg_mcv_list_send' },
|
proargtypes => 'pg_mcv_list', prosrc => 'pg_mcv_list_send' },
|
||||||
|
|
||||||
{ oid => '3427',
|
{ oid => '3427', descr => 'details about MCV list items',
|
||||||
descr => 'details about MCV list items',
|
proname => 'pg_mcv_list_items', prorows => '1000', proretset => 't',
|
||||||
proname => 'pg_mcv_list_items', prorows => '1000', proisstrict => 't',
|
provolatile => 's', prorettype => 'record', proargtypes => 'pg_mcv_list',
|
||||||
proretset => 't', provolatile => 's', prorettype => 'record',
|
|
||||||
proargtypes => 'pg_mcv_list',
|
|
||||||
proallargtypes => '{pg_mcv_list,int4,text,_bool,float8,float8}',
|
proallargtypes => '{pg_mcv_list,int4,text,_bool,float8,float8}',
|
||||||
proargmodes => '{i,o,o,o,o,o}',
|
proargmodes => '{i,o,o,o,o,o}',
|
||||||
proargnames => '{mcv_list,index,values,nulls,frequency,base_frequency}',
|
proargnames => '{mcv_list,index,values,nulls,frequency,base_frequency}',
|
||||||
@ -5285,7 +5282,7 @@
|
|||||||
proname => 'pg_stat_get_db_checksum_failures', provolatile => 's',
|
proname => 'pg_stat_get_db_checksum_failures', provolatile => 's',
|
||||||
proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
|
proparallel => 'r', prorettype => 'int8', proargtypes => 'oid',
|
||||||
prosrc => 'pg_stat_get_db_checksum_failures' },
|
prosrc => 'pg_stat_get_db_checksum_failures' },
|
||||||
{ oid => '8394',
|
{ oid => '3428',
|
||||||
descr => 'statistics: when last checksum failure was detected in database',
|
descr => 'statistics: when last checksum failure was detected in database',
|
||||||
proname => 'pg_stat_get_db_checksum_last_failure', provolatile => 's',
|
proname => 'pg_stat_get_db_checksum_last_failure', provolatile => 's',
|
||||||
proparallel => 'r', prorettype => 'timestamptz', proargtypes => 'oid',
|
proparallel => 'r', prorettype => 'timestamptz', proargtypes => 'oid',
|
||||||
@ -9254,8 +9251,8 @@
|
|||||||
proname => 'jsonpath_in', prorettype => 'jsonpath', proargtypes => 'cstring',
|
proname => 'jsonpath_in', prorettype => 'jsonpath', proargtypes => 'cstring',
|
||||||
prosrc => 'jsonpath_in' },
|
prosrc => 'jsonpath_in' },
|
||||||
{ oid => '4002', descr => 'I/O',
|
{ oid => '4002', descr => 'I/O',
|
||||||
proname => 'jsonpath_recv', prorettype => 'jsonpath', proargtypes => 'internal',
|
proname => 'jsonpath_recv', prorettype => 'jsonpath',
|
||||||
prosrc => 'jsonpath_recv' },
|
proargtypes => 'internal', prosrc => 'jsonpath_recv' },
|
||||||
{ oid => '4003', descr => 'I/O',
|
{ oid => '4003', descr => 'I/O',
|
||||||
proname => 'jsonpath_out', prorettype => 'cstring', proargtypes => 'jsonpath',
|
proname => 'jsonpath_out', prorettype => 'cstring', proargtypes => 'jsonpath',
|
||||||
prosrc => 'jsonpath_out' },
|
prosrc => 'jsonpath_out' },
|
||||||
@ -9276,10 +9273,11 @@
|
|||||||
prosrc => 'jsonb_path_query_array' },
|
prosrc => 'jsonb_path_query_array' },
|
||||||
{ oid => '4008', descr => 'jsonpath query first item',
|
{ oid => '4008', descr => 'jsonpath query first item',
|
||||||
proname => 'jsonb_path_query_first', prorettype => 'jsonb',
|
proname => 'jsonb_path_query_first', prorettype => 'jsonb',
|
||||||
proargtypes => 'jsonb jsonpath jsonb bool', prosrc => 'jsonb_path_query_first' },
|
proargtypes => 'jsonb jsonpath jsonb bool',
|
||||||
{ oid => '4009', descr => 'jsonpath match', proname => 'jsonb_path_match',
|
prosrc => 'jsonb_path_query_first' },
|
||||||
prorettype => 'bool', proargtypes => 'jsonb jsonpath jsonb bool',
|
{ oid => '4009', descr => 'jsonpath match',
|
||||||
prosrc => 'jsonb_path_match' },
|
proname => 'jsonb_path_match', prorettype => 'bool',
|
||||||
|
proargtypes => 'jsonb jsonpath jsonb bool', prosrc => 'jsonb_path_match' },
|
||||||
|
|
||||||
{ oid => '4010', descr => 'implementation of @? operator',
|
{ oid => '4010', descr => 'implementation of @? operator',
|
||||||
proname => 'jsonb_path_exists_opr', prorettype => 'bool',
|
proname => 'jsonb_path_exists_opr', prorettype => 'bool',
|
||||||
@ -9779,7 +9777,8 @@
|
|||||||
proargmodes => '{i,i,i,o,o}',
|
proargmodes => '{i,i,i,o,o}',
|
||||||
proargnames => '{slot_name,immediately_reserve,temporary,slot_name,lsn}',
|
proargnames => '{slot_name,immediately_reserve,temporary,slot_name,lsn}',
|
||||||
prosrc => 'pg_create_physical_replication_slot' },
|
prosrc => 'pg_create_physical_replication_slot' },
|
||||||
{ oid => '4220', descr => 'copy a physical replication slot, changing temporality',
|
{ oid => '4220',
|
||||||
|
descr => 'copy a physical replication slot, changing temporality',
|
||||||
proname => 'pg_copy_physical_replication_slot', provolatile => 'v',
|
proname => 'pg_copy_physical_replication_slot', provolatile => 'v',
|
||||||
proparallel => 'u', prorettype => 'record', proargtypes => 'name name bool',
|
proparallel => 'u', prorettype => 'record', proargtypes => 'name name bool',
|
||||||
proallargtypes => '{name,name,bool,name,pg_lsn}',
|
proallargtypes => '{name,name,bool,name,pg_lsn}',
|
||||||
@ -9789,8 +9788,7 @@
|
|||||||
{ oid => '4221', descr => 'copy a physical replication slot',
|
{ oid => '4221', descr => 'copy a physical replication slot',
|
||||||
proname => 'pg_copy_physical_replication_slot', provolatile => 'v',
|
proname => 'pg_copy_physical_replication_slot', provolatile => 'v',
|
||||||
proparallel => 'u', prorettype => 'record', proargtypes => 'name name',
|
proparallel => 'u', prorettype => 'record', proargtypes => 'name name',
|
||||||
proallargtypes => '{name,name,name,pg_lsn}',
|
proallargtypes => '{name,name,name,pg_lsn}', proargmodes => '{i,i,o,o}',
|
||||||
proargmodes => '{i,i,o,o}',
|
|
||||||
proargnames => '{src_slot_name,dst_slot_name,slot_name,lsn}',
|
proargnames => '{src_slot_name,dst_slot_name,slot_name,lsn}',
|
||||||
prosrc => 'pg_copy_physical_replication_slot_b' },
|
prosrc => 'pg_copy_physical_replication_slot_b' },
|
||||||
{ oid => '3780', descr => 'drop a replication slot',
|
{ oid => '3780', descr => 'drop a replication slot',
|
||||||
@ -9813,14 +9811,17 @@
|
|||||||
proargmodes => '{i,i,i,o,o}',
|
proargmodes => '{i,i,i,o,o}',
|
||||||
proargnames => '{slot_name,plugin,temporary,slot_name,lsn}',
|
proargnames => '{slot_name,plugin,temporary,slot_name,lsn}',
|
||||||
prosrc => 'pg_create_logical_replication_slot' },
|
prosrc => 'pg_create_logical_replication_slot' },
|
||||||
{ oid => '4222', descr => 'copy a logical replication slot, changing temporality and plugin',
|
{ oid => '4222',
|
||||||
|
descr => 'copy a logical replication slot, changing temporality and plugin',
|
||||||
proname => 'pg_copy_logical_replication_slot', provolatile => 'v',
|
proname => 'pg_copy_logical_replication_slot', provolatile => 'v',
|
||||||
proparallel => 'u', prorettype => 'record', proargtypes => 'name name bool name',
|
proparallel => 'u', prorettype => 'record',
|
||||||
|
proargtypes => 'name name bool name',
|
||||||
proallargtypes => '{name,name,bool,name,name,pg_lsn}',
|
proallargtypes => '{name,name,bool,name,name,pg_lsn}',
|
||||||
proargmodes => '{i,i,i,i,o,o}',
|
proargmodes => '{i,i,i,i,o,o}',
|
||||||
proargnames => '{src_slot_name,dst_slot_name,temporary,plugin,slot_name,lsn}',
|
proargnames => '{src_slot_name,dst_slot_name,temporary,plugin,slot_name,lsn}',
|
||||||
prosrc => 'pg_copy_logical_replication_slot_a' },
|
prosrc => 'pg_copy_logical_replication_slot_a' },
|
||||||
{ oid => '4223', descr => 'copy a logical replication slot, changing temporality',
|
{ oid => '4223',
|
||||||
|
descr => 'copy a logical replication slot, changing temporality',
|
||||||
proname => 'pg_copy_logical_replication_slot', provolatile => 'v',
|
proname => 'pg_copy_logical_replication_slot', provolatile => 'v',
|
||||||
proparallel => 'u', prorettype => 'record', proargtypes => 'name name bool',
|
proparallel => 'u', prorettype => 'record', proargtypes => 'name name bool',
|
||||||
proallargtypes => '{name,name,bool,name,pg_lsn}',
|
proallargtypes => '{name,name,bool,name,pg_lsn}',
|
||||||
@ -9830,8 +9831,7 @@
|
|||||||
{ oid => '4224', descr => 'copy a logical replication slot',
|
{ oid => '4224', descr => 'copy a logical replication slot',
|
||||||
proname => 'pg_copy_logical_replication_slot', provolatile => 'v',
|
proname => 'pg_copy_logical_replication_slot', provolatile => 'v',
|
||||||
proparallel => 'u', prorettype => 'record', proargtypes => 'name name',
|
proparallel => 'u', prorettype => 'record', proargtypes => 'name name',
|
||||||
proallargtypes => '{name,name,name,pg_lsn}',
|
proallargtypes => '{name,name,name,pg_lsn}', proargmodes => '{i,i,o,o}',
|
||||||
proargmodes => '{i,i,o,o}',
|
|
||||||
proargnames => '{src_slot_name,dst_slot_name,slot_name,lsn}',
|
proargnames => '{src_slot_name,dst_slot_name,slot_name,lsn}',
|
||||||
prosrc => 'pg_copy_logical_replication_slot_c' },
|
prosrc => 'pg_copy_logical_replication_slot_c' },
|
||||||
{ oid => '3782', descr => 'get changes from replication slot',
|
{ oid => '3782', descr => 'get changes from replication slot',
|
||||||
|
@ -167,11 +167,10 @@
|
|||||||
typcollation => 'default' },
|
typcollation => 'default' },
|
||||||
{ oid => '5017', oid_symbol => 'PGMCVLISTOID',
|
{ oid => '5017', oid_symbol => 'PGMCVLISTOID',
|
||||||
descr => 'multivariate MCV list',
|
descr => 'multivariate MCV list',
|
||||||
typname => 'pg_mcv_list', typlen => '-1', typbyval => 'f',
|
typname => 'pg_mcv_list', typlen => '-1', typbyval => 'f', typcategory => 'S',
|
||||||
typcategory => 'S', typinput => 'pg_mcv_list_in',
|
typinput => 'pg_mcv_list_in', typoutput => 'pg_mcv_list_out',
|
||||||
typoutput => 'pg_mcv_list_out', typreceive => 'pg_mcv_list_recv',
|
typreceive => 'pg_mcv_list_recv', typsend => 'pg_mcv_list_send',
|
||||||
typsend => 'pg_mcv_list_send', typalign => 'i', typstorage => 'x',
|
typalign => 'i', typstorage => 'x', typcollation => 'default' },
|
||||||
typcollation => 'default' },
|
|
||||||
{ oid => '32', oid_symbol => 'PGDDLCOMMANDOID',
|
{ oid => '32', oid_symbol => 'PGDDLCOMMANDOID',
|
||||||
descr => 'internal type for passing CollectedCommand',
|
descr => 'internal type for passing CollectedCommand',
|
||||||
typname => 'pg_ddl_command', typlen => 'SIZEOF_POINTER', typbyval => 't',
|
typname => 'pg_ddl_command', typlen => 'SIZEOF_POINTER', typbyval => 't',
|
||||||
@ -443,9 +442,9 @@
|
|||||||
typsend => 'jsonb_send', typalign => 'i', typstorage => 'x' },
|
typsend => 'jsonb_send', typalign => 'i', typstorage => 'x' },
|
||||||
{ oid => '4072', array_type_oid => '4073', descr => 'JSON path',
|
{ oid => '4072', array_type_oid => '4073', descr => 'JSON path',
|
||||||
typname => 'jsonpath', typlen => '-1', typbyval => 'f', typcategory => 'U',
|
typname => 'jsonpath', typlen => '-1', typbyval => 'f', typcategory => 'U',
|
||||||
typarray => '_jsonpath', typinput => 'jsonpath_in',
|
typinput => 'jsonpath_in', typoutput => 'jsonpath_out',
|
||||||
typoutput => 'jsonpath_out', typreceive => '-', typsend => '-',
|
typreceive => 'jsonpath_recv', typsend => 'jsonpath_send', typalign => 'i',
|
||||||
typalign => 'i', typstorage => 'x' },
|
typstorage => 'x' },
|
||||||
|
|
||||||
{ oid => '2970', array_type_oid => '2949', descr => 'txid snapshot',
|
{ oid => '2970', array_type_oid => '2949', descr => 'txid snapshot',
|
||||||
typname => 'txid_snapshot', typlen => '-1', typbyval => 'f',
|
typname => 'txid_snapshot', typlen => '-1', typbyval => 'f',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user