Re: [HACKERS] Re: [GENERAL] pg_basebackup error: replication slot"pg_basebackup_2194" already exists

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] Re: [GENERAL] pg_basebackup error: replication slot"pg_basebackup_2194" already exists
Дата
Msg-id CAB7nPqQXRwWpfo7g=0-qgH4ku2xY4nRB8sk-kBLtRj4_=GYpKw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [GENERAL] pg_basebackup error: replication slot"pg_basebackup_2194" already exists  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Wed, May 31, 2017 at 11:18 AM, Andres Freund <andres@anarazel.de> wrote:
> On 2017-05-31 18:22:18 +0200, Magnus Hagander wrote:
>> However, the client can't access the pid of the server as it is now,
>> and its the client that has to create the name.
>
> I don't think that's actually true?  Doesn't the wire protocol always
> include the PID, which is then exposed with PQbackendPID()?

Ah, you are right here. I forgot that this is exposed to the client at
backend startup.
-- 
Michael



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: [HACKERS] TAP backpatching policy
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [HACKERS] Re: [GENERAL] pg_basebackup error: replication slot"pg_basebackup_2194" already exists