Re: [HACKERS] Re: [GENERAL] pg_basebackup error: replication slot"pg_basebackup_2194" already exists - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] Re: [GENERAL] pg_basebackup error: replication slot"pg_basebackup_2194" already exists
Date
Msg-id CAB7nPqQXRwWpfo7g=0-qgH4ku2xY4nRB8sk-kBLtRj4_=GYpKw@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Re: [GENERAL] pg_basebackup error: replication slot"pg_basebackup_2194" already exists  (Andres Freund <andres@anarazel.de>)
List 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 by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [HACKERS] TAP backpatching policy
Next
From: Magnus Hagander
Date:
Subject: Re: [HACKERS] Re: [GENERAL] pg_basebackup error: replication slot"pg_basebackup_2194" already exists