Re: [HACKERS] No parameter values checking while creating Altersubscription...Connection

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] No parameter values checking while creating Altersubscription...Connection
Дата
Msg-id f1dd832d-a29f-f5aa-71bc-e8a24b005a57@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] No parameter values checking while creating Alter subscription...Connection  (Masahiko Sawada <sawada.mshk@gmail.com>)
Ответы Re: [HACKERS] No parameter values checking while creating Altersubscription...Connection  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 5/25/17 10:18, Masahiko Sawada wrote:
>> postgres=# alter subscription c1 connection 'port=4000';
>> ALTER SUBSCRIPTION
>> postgres=# alter subscription c1 connection 'dbname=cc';
>> ALTER SUBSCRIPTION
>>
> CREATE SUBSCRIPTION tries to connect to publisher to create
> replication slot or to get table list for table synchronization, not
> to check the connection parameter value. So if you specify connect =
> false then CREATE SUBSCRIPTION doesn't try to connect.

We don't make a connection attempt as part of ALTER SUBSCRIPTION.  I
guess we could just connect and disconnect to check that it works.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] pg_dump ignoring information_schema tables which usedin Create Publication.
Следующее
От: Michael Paquier
Дата:
Сообщение: [HACKERS] Channel binding support for SCRAM-SHA-256