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

From Amit Kapila
Subject Re: Use PG_STAT_GET_REPLICATION_SLOT_COLS in pg_stat_get_replication_slot()
Date
Msg-id CAA4eK1Lz6kSK0Qp8xoy83KMRNrakt_XHCHcQc=AvfRzYJyx9Rg@mail.gmail.com
Whole thread Raw
In response to Use PG_STAT_GET_REPLICATION_SLOT_COLS in pg_stat_get_replication_slot()  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: Use PG_STAT_GET_REPLICATION_SLOT_COLS in pg_stat_get_replication_slot()
List pgsql-hackers
On Tue, Jun 29, 2021 at 5:12 PM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
>
> 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.
>

LGTM. I'll take care of it tomorrow.

-- 
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: Re: [HACKERS] logical decoding of two-phase transactions
Next
From: Greg Sabino Mullane
Date:
Subject: Re: Speed up pg_checksums in cases where checksum already set