Re: Warm standby problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David F(dot) Skoll" <dfs(at)roaringpenguin(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Warm standby problems
Date: 2009-10-26 23:07:21
Message-ID: 16950.1256598441@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"David F. Skoll" <dfs(at)roaringpenguin(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2009-10-26 23:27:05 Re: pg_attribute size
Previous Message Tom Lane 2009-10-26 23:02:20 Re: duplicate key violated errors