Use PG_STAT_GET_REPLICATION_SLOT_COLS in pg_stat_get_replication_slot()

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Use PG_STAT_GET_REPLICATION_SLOT_COLS in pg_stat_get_replication_slot()
Date: 2021-06-29 11:41:34
Message-ID: CAD21AoBvqODDfmD17DkEuPCvV2KbruukXQ2Vwrv5Xi-TsAsTJA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
use_constant_value.patch application/octet-stream 583 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2021-06-29 12:00:54 Re: [HACKERS] logical decoding of two-phase transactions
Previous Message John Naylor 2021-06-29 11:20:38 Re: speed up verifying UTF-8