Re: [COMMITTERS] pgsql: Avoid assuming there will be only 3 states for synchronous_commi

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [COMMITTERS] pgsql: Avoid assuming there will be only 3 states for synchronous_commi
Дата
Msg-id BANLkTimq-YBiBQGZ5Ok5nKurJWSnDYiAXA@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
On Mon, Apr 4, 2011 at 6:24 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> Avoid assuming there will be only 3 states for synchronous_commit.
> Also avoid hardcoding the current default state by giving it the name
> "on" and replace with a meaningful name that reflects its behaviour.
> Coding only, no change in behaviour.

I think changing the test to > SYNCHRONOUS_COMMIT_OFF is an
improvement, but I don't particularly like the renaming portion of
this change - now the internal names don't match what the user types,
which seems less clear, and inconsistent with every other enum-type
GUC.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: time table for beta1
Следующее
От: Dan Ports
Дата:
Сообщение: Re: time table for beta1