]> granicus.if.org Git - postgresql/commit
Fix argument of pg_create_logical_replication_slot for slot name
authorMichael Paquier <michael@paquier.xyz>
Fri, 13 Jul 2018 00:32:12 +0000 (09:32 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 13 Jul 2018 00:32:12 +0000 (09:32 +0900)
commitce89ad0fa07d98e20380867811a5269ee36d45c7
tree1ea358f5f9c894146c1dcef33d44aca072f5e199
parent5fc1008e8a8b9e96ac75b4db5dd9ad2b99a9c8b2
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
src/backend/catalog/system_views.sql
src/backend/replication/slotfuncs.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.dat