Обсуждение: pgsql: Fix argument of pg_create_logical_replication_slot for slotname

Поиск
Список
Период
Сортировка

pgsql: Fix argument of pg_create_logical_replication_slot for slotname

От
Michael Paquier
Дата:
Fix argument of pg_create_logical_replication_slot for slot name

All attributes and arguments using a slot name map to the data type
"name", but this function has been using "text".  This is cosmetic, as
even if text is used then the slot name would be truncated to 64
characters anyway and stored as such.  The documentation already said
so and the function already assumed that the argument was of this type
when fetching its value.

Bump catalog version.

Author: Sawada Masahiko
Discussion: https://postgr.es/m/CAD21AoADYz_-eAqH5AVFaCaojcRgwpo9PW=u8kgTMys63oB8Cw@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/catalog/system_views.sql | 2 +-
src/backend/replication/slotfuncs.c  | 2 +-
src/include/catalog/catversion.h     | 2 +-
src/include/catalog/pg_proc.dat      | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)