pgsql: Use NameData datatype for slotname in stats.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Use NameData datatype for slotname in stats.
Дата
Msg-id E1lWWAr-0004fc-Ho@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use NameData datatype for slotname in stats.

This will make it consistent with the other usage of slotname in the code.
In the passing, change pgstat_report_replslot signature to use a structure
rather than multiple parameters.

Reported-by: Andres Freund
Author: Vignesh C
Reviewed-by: Sawada Masahiko, Amit Kapila
Discussion: https://postgr.es/m/20210319185247.ldebgpdaxsowiflw@alap3.anarazel.de

Branch
------
master

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

Modified Files
--------------
src/backend/postmaster/pgstat.c           | 32 +++++++++++++++----------------
src/backend/replication/logical/logical.c | 13 ++++++++++---
src/backend/replication/slot.c            |  7 ++++++-
src/backend/utils/adt/pgstatfuncs.c       |  2 +-
src/include/pgstat.h                      | 11 ++++-------
5 files changed, 36 insertions(+), 29 deletions(-)


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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: pgsql: Initialize t_self and t_tableOid in statext_expressions_load
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Simplify tests of postgres_fdw terminating connections