Re: Transaction Snapshot Cloning

Поиск
Список
Период
Сортировка
От Florian G. Pflug
Тема Re: Transaction Snapshot Cloning
Дата
Msg-id 478F3470.1020206@phlo.org
обсуждение исходный текст
Ответ на Re: Transaction Snapshot Cloning  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Transaction Snapshot Cloning  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
Tom Lane wrote:
> I'm not sure what the most convenient user API would be for an on-demand
> hard-read-only mode, but we can't use SET TRANSACTION READ ONLY for it.
> It'd have to be some other syntax.  Maybe just use a GUC variable
> instead of bespoke syntax?  SET TRANSACTION is really just syntactic
> sugar for GUC SET operations anyway ...

We could reuse the transaction_read_only GUC, adding "strict" as a 3rd 
allowed value beside "on" and "off". And maybe make "ansi" an alias for 
"on" to emphasize that one behavior is what the standard wants, and the 
other is a postgres extension.

regards, Florian Pflug



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

Предыдущее
От: "Brendan Jurd"
Дата:
Сообщение: Re: to_char incompatibility
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: Postgresql Materialized views