Re: SSI, simplified

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: SSI, simplified
Дата
Msg-id 87aainhk1b.fsf@hi-media-techno.com
обсуждение исходный текст
Ответ на Re: SSI, simplified  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: SSI, simplified  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> Not sure how to handle that. My understanding is that we are replacing
> the old Serializable mode with the new Serializable mode. The old way
> works, but the new way doesn't. I don't think we should throw an error;
> we just need to document that it works the old way on HS and the new way
> everywhere else. Maybe that's inconsistent, but throwing errors isn't
> useful in places where there didn't used to be any.

Well if you want the old behaviour you can ask for REPEATABLE READ and
have it.  Granted, that means you have to edit the application code that
talks to the Hot Standby, but surely you want to edit the same code when
it talks to the master to ask the proper level of serialisation, which
just changed underneath you?

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


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

Предыдущее
От: Gurjeet Singh
Дата:
Сообщение: Re: Patch to add a primary key using an existing index
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: SSI, simplified