Re: pg_create_logical_replication_slot returns text instead of name

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pg_create_logical_replication_slot returns text instead of name
Дата
Msg-id 20180712131853.GD1167@paquier.xyz
обсуждение исходный текст
Ответ на pg_create_logical_replication_slot returns text instead of name  (Masahiko Sawada <sawada.mshk@gmail.com>)
Ответы Re: pg_create_logical_replication_slot returns text instead of name  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Thu, Jul 12, 2018 at 07:00:48PM +0900, Masahiko Sawada wrote:
> The documentation[1] says that both pg_create_logical_replication_slot
> and pg_create_physical_replication_slot returns slot_name as a name
> type. But only pg_create_logical_replication_slot returns it as text
> type. I think these should be united as the name type. Attached small
> patch fixes it.
>
> [1] https://www.postgresql.org/docs/devel/static/functions-admin.html#FUNCTIONS-REPLICATION

That's a small thing, but I agree with you.  As far as I can see slot
names are always mapped with the name type.  I'll push that tomorrow if
there are no objections.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Negotiating the SCRAM channel binding type
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Binary difference in pg_internal.init after running pg_initdb multiple times