Re: specifying repeatable read in PGOPTIONS

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: specifying repeatable read in PGOPTIONS
Дата
Msg-id 20140209171022.GA27393@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: specifying repeatable read in PGOPTIONS  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: specifying repeatable read in PGOPTIONS  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 2014-02-09 12:00:02 -0500, Robert Haas wrote:
> On Fri, Feb 7, 2014 at 5:06 AM, Andres Freund <andres@2ndquadrant.com> wrote:
> > So I still think we should add read_committed, repeatable_read as aliases.
> 
> Like Tom, I'm -1 on this.  This is fixing the problem from the wrong end.

Why? We do have other options with aliases for option values and all
other enum option has taken care not to need spaces.

> But introducing an escaping convention seems more than prudent.

I've attached a patch implementing \ escapes one mail up... But I don't
really see that as prohibiting also adding sensible aliases.

It's just annoying that it's currently not possible to run to pgbenches
testing both without either restarting the user or ALTER ROLE/DATABASE.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: specifying repeatable read in PGOPTIONS
Следующее
От: Jeremy Harris
Дата:
Сообщение: Re: Minor performance improvement in transition to external sort