Use PG_STAT_GET_REPLICATION_SLOT_COLS in pg_stat_get_replication_slot() - Mailing list pgsql-hackers

From Masahiko Sawada
Subject Use PG_STAT_GET_REPLICATION_SLOT_COLS in pg_stat_get_replication_slot()
Date
Msg-id CAD21AoBvqODDfmD17DkEuPCvV2KbruukXQ2Vwrv5Xi-TsAsTJA@mail.gmail.com
Whole thread Raw
Responses Re: Use PG_STAT_GET_REPLICATION_SLOT_COLS in pg_stat_get_replication_slot()
List pgsql-hackers
Hi all,

I realized that we use the magic number 10 instead of
PG_STAT_GET_REPLICATION_SLOT_COLS in pg_stat_get_replication_slot()
function. It seems an oversight of the original commit. Attached patch
fixes it.

Regards,

-- 
Masahiko Sawada
EDB:  https://www.enterprisedb.com/

Attachment

pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: speed up verifying UTF-8
Next
From: vignesh C
Date:
Subject: Re: [HACKERS] logical decoding of two-phase transactions