[HACKERS] HINT message for "ALTER SUBSCRIPTION.. WITH" need to change with SETkeyword

Поиск
Список
Период
Сортировка
От tushar
Тема [HACKERS] HINT message for "ALTER SUBSCRIPTION.. WITH" need to change with SETkeyword
Дата
Msg-id 9fb66eef-c6a8-37e5-a576-f6ad4c864305@enterprisedb.com
обсуждение исходный текст
Ответы Re: [HACKERS] HINT message for "ALTER SUBSCRIPTION.. WITH" need tochange with SET keyword  (Dilip Kumar <dilipbalaut@gmail.com>)
Список pgsql-hackers

Hi,

There is small issue in the HINT message which we provide at the time of dropping subscription ,where we are saying -WITH (slot_name) which need to change with SET (slot_name).

postgres=# drop subscription sub;
ERROR:  could not connect to publisher when attempting to drop the replication slot "pub"
DETAIL:  The error was: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
HINT:  Use ALTER SUBSCRIPTION ... WITH (slot_name = NONE) to disassociate the subscription from the slot.

expected = "HINT:  Use ALTER SUBSCRIPTION ... SET (slot_name = NONE) to disassociate the subscription from the slot."

-- 
regards,tushar
EnterpriseDB  https://www.enterprisedb.com/
The Enterprise PostgreSQL Company

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

Предыдущее
От: Ashutosh Bapat
Дата:
Сообщение: Re: [HACKERS] Re: [BUGS] BUG #14657: Server process segmentationfault in v10, May 10th dev snapshot
Следующее
От: Pierre-Emmanuel André
Дата:
Сообщение: Re: [HACKERS] PostgreSQL 10beta1 - compilation fails on OpenBSD-current