Re: Streaming replication: sequences on slave seemingly ahead of sequences on master - Mailing list pgsql-general

From Magnus Hagander
Subject Re: Streaming replication: sequences on slave seemingly ahead of sequences on master
Date
Msg-id CABUevEwEq+7ce78YZ7Y0+Dd8CDX2VG_C=4siB_-t-MDg859+bw@mail.gmail.com
Whole thread Raw
In response to Re: Streaming replication: sequences on slave seemingly ahead of sequences on master  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Streaming replication: sequences on slave seemingly ahead of sequences on master
List pgsql-general
On Mon, May 7, 2012 at 10:14 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
> On 7 May 2012 09:01, Vincent de Phily <vincent.dephily@mobile-devices.fr> wrote:
>
>> Would be nice to see it added to the documentation (unless I just didn't find
>> it ?), as it is quite surprising, and might lead to problems if people expect
>> to be able to read sequence values from the slave.
>
> If you think so, please submit a patch. That's how it works here.

FWIW, I think this would be a reasonable thing to document, given that
it violates the principle of least surprise for people who are not
intimately familiar with how replication and/or sequences work wrt wal
logging in postgresql. (but no, I'm not actually volunteering at this
point to write said patch due to my backlog already being too large
:P)


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

pgsql-general by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Streaming replication: sequences on slave seemingly ahead of sequences on master
Next
From: Simon Riggs
Date:
Subject: Re: Streaming replication: sequences on slave seemingly ahead of sequences on master