Re: Confused by the behavior of pg_basebackup with replication slot

From: "Yi, Yi" <yiy(at)cn(dot)fujitsu(dot)com>
To: Julien Rouhaud <julien(dot)rouhaud(at)dalibo(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Confused by the behavior of pg_basebackup with replication slot
Date: 2016-03-20 14:04:47
Message-ID: C82A1D88ED30274FB6187060757EC7DC0140723390@G08CNEXMBPEKD02.g08.fujitsu.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Sorry I sent the mail a little too fast. The list is at the end of the
> page.

Thank you for your reply. I saw the list and it helped me a lot :)

> On 19/03/2016 15:58, Julien Rouhaud wrote:
> > Hello,
> >
> > On 19/03/2016 15:41, Yi, Yi wrote:
> >> Hello,
> >>
> >> I had an issue with the behavior of pg_basebackup command. I was
> convinced previously that pg_basebackup command always made the binary
> copy of the database cluster files of the postgres master. However, I
> recently noticed that pg_basebackup did not copy the the replication slot
> object of the master, in comparison with the fact that the
> copy-command-based-backup did copy the replication slot object. Is this
> difference designed on purpose ?
> >>
> >
> > Yes.
> >
> >> Considering the difference mentioned above, I'm wandering that is
> there anything else that the pg_basebackup would NOT copy from the
> master ?
> >> In other words, what is the no-copying rules of pg_basebackup ?
> >>
> >
> > The full list is documented here:
> >
> http://www.postgresql.org/docs/current/static/protocol-replication.h
> tml
> >
>
> Sorry I sent the mail a little too fast. The list is at the end of the
> page.
>
> > Regards.
> >
> >> Any help will be greatly appreciated. Thanks.
> >>
> >> Best Regards.
> >>
> >
> >
>
>
> --
> Julien Rouhaud
> http://dalibo.com - http://dalibo.org
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matthias Schmitt 2016-03-20 15:18:07 Re: pg_dump crashing
Previous Message Michael Paquier 2016-03-20 13:31:39 Re: [HACKERS] Request - repeat value of \pset title during \watch interations