Re: synchronized snapshots

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: synchronized snapshots
Дата
Msg-id 1313546084.23102.5.camel@jdavis-ux.asterdata.local
обсуждение исходный текст
Ответ на Re: synchronized snapshots  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: synchronized snapshots  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Tue, 2011-08-16 at 21:08 -0400, Robert Haas wrote: 
> attaching it to BEGIN feels natural to me.

My only objection is that people have different expectations about
whether the session will remain in a transaction block when they
encounter an error. So, it's hard to make this work without surprising
about half the users.

And there are some fairly significant consequences to users who guess
that they will remain in a transaction block in case of an error; or who
are just careless and don't consider that an error may occur.

> If we did add another toplevel command, what would we call it?

"SET TRANSACTION SNAPSHOT" perhaps?

Regards,Jeff Davis



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

Предыдущее
От: Joe Abbate
Дата:
Сообщение: Re: Finding tables dropped by DROP TABLE CASCADE
Следующее
От: Robert Haas
Дата:
Сообщение: Re: synchronized snapshots