Skip to content

Commit 22eb12c

Browse files
author
Amit Kapila
committed
Fix few values in pg_proc for pg_stat_get_replication_slot.
The function pg_stat_get_replication_slot() is not a SRF but marked incorrectly in the pg_proc. Reported-by: Michael Paquier Discussion: https://postgr.es/m/YhMk4RjoMK3CCXy2@paquier.xyz
1 parent cf879d3 commit 22eb12c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/include/catalog/catversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
*/
5454

5555
/* yyyymmddN */
56-
#define CATALOG_VERSION_NO 202202221
56+
#define CATALOG_VERSION_NO 202202251
5757

5858
#endif

src/include/catalog/pg_proc.dat

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5370,9 +5370,8 @@
53705370
proargnames => '{pid,status,receive_start_lsn,receive_start_tli,written_lsn,flushed_lsn,received_tli,last_msg_send_time,last_msg_receipt_time,latest_end_lsn,latest_end_time,slot_name,sender_host,sender_port,conninfo}',
53715371
prosrc => 'pg_stat_get_wal_receiver' },
53725372
{ oid => '6169', descr => 'statistics: information about replication slot',
5373-
proname => 'pg_stat_get_replication_slot', prorows => '1', proisstrict => 'f',
5374-
proretset => 't', provolatile => 's', proparallel => 'r',
5375-
prorettype => 'record', proargtypes => 'text',
5373+
proname => 'pg_stat_get_replication_slot', proisstrict => 'f', provolatile => 's',
5374+
proparallel => 'r', prorettype => 'record', proargtypes => 'text',
53765375
proallargtypes => '{text,text,int8,int8,int8,int8,int8,int8,int8,int8,timestamptz}',
53775376
proargmodes => '{i,o,o,o,o,o,o,o,o,o,o}',
53785377
proargnames => '{slot_name,slot_name,spill_txns,spill_count,spill_bytes,stream_txns,stream_count,stream_bytes,total_txns,total_bytes,stats_reset}',

0 commit comments

Comments
 (0)