Re: default_transaction_isolation = serializable causes crash under Hot Standby

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: default_transaction_isolation = serializable causes crash under Hot Standby
Дата
Msg-id CA+TgmoYXNHK1r8cWeUZNCHY9zOsc8r4LpBGfNX_QQaxpJRhAew@mail.gmail.com
обсуждение исходный текст
Ответ на Re: default_transaction_isolation = serializable causes crash under Hot Standby  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Apr 27, 2012 at 11:02 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> Or, maybe there's a way to throw an error when serializable mode is
>> used rather than when it's requested.
>
> Couldn't we check and throw an error at the place in transaction startup
> where default_transaction_isolation is copied to the active variable?

Yeah, possibly.  Although the user might still use SET TRANSACTION
ISOLATION, so it would ideally be nice to postpone throwing the error
until after that opportunity is past.  Not sure if that's feasible,
though.

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


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: default_transaction_isolation = serializable causes crash under Hot Standby
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: default_transaction_isolation = serializable causes crash under Hot Standby