On Tue, Dec 8, 2009 at 5:30 PM, Heikki Linnakangas
wrote:
> - If a WAL file is not found in the master for some reason, standby goes
> into an infinite loop retrying it:
>
> ERROR: could not read xlog records: FATAL: could not open file
> "pg_xlog/0001" (log file 0, segment 0
On Wed, Dec 9, 2009 at 10:51 AM, Fujii Masao wrote:
> On Wed, Dec 9, 2009 at 10:12 AM, Tom Lane wrote:
>> Fujii Masao writes:
>>> Thought? Am I missing something?
>>
>> This seems terribly overdesigned. Just emit a warning when you see
>> the "unlogged op" record and have done.
>
> Sounds quite
On Wed, Dec 9, 2009 at 10:12 AM, Tom Lane wrote:
> Fujii Masao writes:
>> Thought? Am I missing something?
>
> This seems terribly overdesigned. Just emit a warning when you see
> the "unlogged op" record and have done.
Sounds quite simple. OK, I'll do so.
Regards,
--
Fujii Masao
NIPPON TELE
Fujii Masao writes:
> Thought? Am I missing something?
This seems terribly overdesigned. Just emit a warning when you see
the "unlogged op" record and have done.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to
On Tue, Dec 8, 2009 at 9:05 PM, Heikki Linnakangas
wrote:
>> I suspect we should have a WAL record to say "unlogged operation
>> performed here" which a standby database would recognize and throw a
>> large warning up.
>
> +1. Seems like a very simple solution.
Sounds good. This is not just a pro
Greg Stark wrote:
> On Tue, Dec 8, 2009 at 8:30 AM, Heikki Linnakangas
> wrote:
>> - It's possible to shut down master, change max_wal_senders to 0,
>> restart and do an operation like CLUSTER which then skips WAL-logging.
>> Then shutdown, change max_wal_senders back to non-zero. All this while
>
On Tue, Dec 8, 2009 at 8:30 AM, Heikki Linnakangas
wrote:
> - It's possible to shut down master, change max_wal_senders to 0,
> restart and do an operation like CLUSTER which then skips WAL-logging.
> Then shutdown, change max_wal_senders back to non-zero. All this while
> the standby is running.
On Tue, Dec 8, 2009 at 5:30 PM, Heikki Linnakangas
wrote:
> A couple of small issues spotted while reviewing the streaming
> replication patch:
Thanks for the review!
> - Because sentPtr is initialized to zeros, GetOldestWALSendPointer will
> return zero before a just-launched WAL sender has sen