Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-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

pgsql-hackers by date

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

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group