Re: Warm standby problems - Mailing list pgsql-admin

From Tom Lane
Subject Re: Warm standby problems
Date
Msg-id 16950.1256598441@sss.pgh.pa.us
Whole thread Raw
In response to Re: Warm standby problems  ("David F. Skoll" <dfs@roaringpenguin.com>)
Responses Re: Warm standby problems  ("David F. Skoll" <dfs@roaringpenguin.com>)
List pgsql-admin
"David F. Skoll" <dfs@roaringpenguin.com> writes:
> Tom Lane wrote:
>> No; there's no WAL change between 8.3.7 and 8.3.8.  What seems more
>> likely is that you're somehow shipping the WAL files before they're
>> quite finished.

> So unless there's a possibility that the master server invokes our archive
> script before the WAL has finished being written, I can't see how this
> could happen.

What about the other direction: the script invoked by the archive
returns "done" before the bits have all been shipped?  PG is entirely
capable of overwriting the contents of a WAL file the moment the script
returns "done".

            regards, tom lane

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: duplicate key violated errors
Next
From: Naomi Walker
Date:
Subject: Re: pg_attribute size