Re: [HACKERS] Re: pgsql: Make CheckRequiredParameterValues() depend upon correct

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-committers(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Re: pgsql: Make CheckRequiredParameterValues() depend upon correct
Date: 2010-04-23 22:24:46
Message-ID: 18293.1272061486@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Fri, Apr 23, 2010 at 4:44 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> A design that might work is
>> (1) store the active value of wal_mode in pg_control (but NOT as part of
>> the last-checkpoint-record image).
>> (2) invent a new WAL record type that is transmitted when we change
>> wal_mode.

> Well, right now wal_mode would only be able to be changed at server
> restart.

Right, but slave servers won't find out about the change until the first
checkpoint after the start. Which is Too Late.

regards, tom lane

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-04-23 22:55:59 Re: pgsql: Add missing optimizer hooks for function cost and number of rows.
Previous Message Simon Riggs 2010-04-23 22:23:39 pgsql: Add missing optimizer hooks for function cost and number of rows.

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2010-04-23 22:28:03 Re: Postgres stats collector showing high disk I/O
Previous Message Simon Riggs 2010-04-23 22:23:39 pgsql: Add missing optimizer hooks for function cost and number of rows.