| От | Tom Lane |
|---|---|
| Тема | Re: example for read committed/volitile functions |
| Дата | |
| Msg-id | 10246.1107129102@sss.pgh.pa.us обсуждение |
| Ответ на | Re: example for read committed/volitile functions (elein@varlena.com (elein)) |
| Ответы |
Re: example for read committed/volitile functions
|
| Список | pgsql-general |
elein@varlena.com (elein) writes:
> I have multiple statements in a READ COMMITTED transaction that
> can see COMMITs from another concurrent transaction (although not
> vice versa, of course). The behaviour is consistent in 7.4 and 8.0
> and correct imho.
Right, but put those same statements inside a plpgsql function and
then you'll see a difference.
Essentially, 8.0 causes SQL commands executed inside a function to
behave the same as they would if issued interactively. Before, there
was a difference.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера