Use PG_STAT_GET_REPLICATION_SLOT_COLS in pg_stat_get_replication_slot()
Masahiko Sawada <sawada.mshk@gmail.com>
From: Masahiko Sawada <sawada.mshk@gmail.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2021-06-29T11:41:34Z
Lists: pgsql-hackers
Attachments
- use_constant_value.patch (application/octet-stream) patch
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/
Commits
-
Replace magic constants used in pg_stat_get_replication_slot().
- a9cb00a965c6 14.0 landed
- ab5e48f153cf 15.0 landed