| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
| Cc: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Re: [COMMITTERS] pgsql: Make CheckRequiredParameterValues() depend upon correct |
| Date: | 2010-04-28 14:19:23 |
| Message-ID: | 24161.1272464363@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers |
Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> On Wed, 2010-04-28 at 10:43 +0300, Heikki Linnakangas wrote:
>> * renamed wal_mode to wal_level
> I'm wondering whether this should be a list rather than an enum? If we
> add something in the future that adds more info to WAL but doesn't fit
> the one-dimensional model this implements then we could be in trouble.
> Should this be
> e.g. wal_xxxx = feature2, feature3
> e.g. wal_xxxx = feature3
> e.g. wal_xxxx = feature1
I'm a bit suspicious of going in this direction, mainly because
DateStyle has been such a PITA over the years. It's not always obvious
to users whether adding or removing an item in a list causes something
to turn on or off.
In any case, the project's expectations for forward compatibility of
postgresql.conf settings have always been very low. I don't think we
should try to design wal_mode to solve future problems, just the ones
we are faced with right now. If it gets changed to look completely
different in some future version, that's not a problem.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Simon Riggs | 2010-04-28 14:59:58 | Re: Re: [COMMITTERS] pgsql: Make CheckRequiredParameterValues() depend upon correct |
| Previous Message | Magnus Hagander | 2010-04-28 13:46:23 | pgsql: Fix typo that had the code check the same thing twice. |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mike Fowler | 2010-04-28 14:21:53 | XML Todo List |
| Previous Message | Ross J. Reedstrom | 2010-04-28 14:17:16 | Re: Add column if not exists (CINE) |