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

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Ludovic Vaugeois-Pepin <ludovicvp(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [GENERAL] pg_basebackup error: replication slot "pg_basebackup_2194" already exists
Date: 2017-05-31 18:57:18
Message-ID: CABUevEz4a1-UpmHEHfURrib6j_0X_NQ-_CocSzLEGHzzDRS5BA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Wed, May 31, 2017 at 8:18 PM, Andres Freund <andres(at)anarazel(dot)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.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message armand pirvu 2017-05-31 19:18:21 jsonb case insensitive search
Previous Message Michael Paquier 2017-05-31 18:39:31 Re: Re: [GENERAL] pg_basebackup error: replication slot "pg_basebackup_2194" already exists

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2017-05-31 19:30:56 Re: BUG #14680: startup process on standby encounter a deadlock of TwoPhaseStateLock when redo 2PC xlog
Previous Message Michael Paquier 2017-05-31 18:39:31 Re: Re: [GENERAL] pg_basebackup error: replication slot "pg_basebackup_2194" already exists