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

From Magnus Hagander
Subject Re: [HACKERS] Re: [GENERAL] pg_basebackup error: replication slot"pg_basebackup_2194" already exists
Date
Msg-id CABUevEz4a1-UpmHEHfURrib6j_0X_NQ-_CocSzLEGHzzDRS5BA@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 8:18 PM, 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()?

Oh, you're right. Well, that makes the fix a lot simpler. Will fix in a minute. 


--

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Re: [GENERAL] pg_basebackup error: replication slot"pg_basebackup_2194" already exists
Next
From: Mark Dilger
Date:
Subject: [HACKERS] pg_class.relpartbound definition overly brittle