[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-general
Subject: Re: [HACKERS] Re: [GENERAL] pg_basebackup error: replication slot "pg_basebackup_2194" already exist
From: Magnus Hagander <magnus () hagander ! net>
Date: 2017-05-31 18:57:18
Message-ID: CABUevEz4a1-UpmHEHfURrib6j_0X_NQ-_CocSzLEGHzzDRS5BA () mail ! gmail ! com
[Download RAW message or body]
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.
--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>
[Attachment #3 (text/html)]
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, May 31, 2017 \
at 8:18 PM, Andres Freund <span dir="ltr"><<a href="mailto:andres@anarazel.de" \
target="_blank">andres@anarazel.de</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class="">On 2017-05-31 18:22:18 +0200, Magnus Hagander \
wrote:<br> > However, the client can't access the pid of the server as it is \
now,<br> > and its the client that has to create the name.<br>
<br>
</span>I don't think that's actually true? Doesn't the wire protocol \
always<br> include the PID, which is then exposed with \
PQbackendPID()?<br></blockquote><div><br></div><div>Oh, you're right. Well, that \
makes the fix a lot simpler. Will fix in a minute. </div></div><br \
clear="all"><div><br></div>-- <br><div class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div> Magnus Hagander<br> Me: <a \
href="http://www.hagander.net/" target="_blank">https://www.hagander.net/</a><br> \
Work: <a href="http://www.redpill-linpro.com/" \
target="_blank">https://www.redpill-linpro.com/</a></div></div></div> </div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic