pgsql: Fix argument of pg_create_logical_replication_slot for slotname - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix argument of pg_create_logical_replication_slot for slotname
Date
Msg-id E1fdmGF-0000MQ-Cz@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Allow using the updated tuple while moving it to a different par
Next
From: Thomas Munro
Date:
Subject: pgsql: Add pg_dump --on-conflict-do-nothing option.