pgsql: Replace magic constants used in pg_stat_get_replication_slot().

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Replace magic constants used in pg_stat_get_replication_slot().
Дата
Msg-id E1lyTbd-0005lj-7d@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Replace magic constants used in pg_stat_get_replication_slot().

A few variables have been using 10 as a magic constant while
PG_STAT_GET_REPLICATION_SLOT_COLS can be used instead.

Author: Masahiko Sawada
Reviewed-By: Amit Kapila
Backpatch-through: 14, where it was introduced
Discussion: https://postgr.es/m/CAD21AoBvqODDfmD17DkEuPCvV2KbruukXQ2Vwrv5Xi-TsAsTJA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ab5e48f153cfea2c571dc177ae96faf4ab072b8e

Modified Files
--------------
src/backend/utils/adt/pgstatfuncs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: pgsql: Allow streaming the changes after speculative aborts.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: genbki stricter error handling