| От | Marko Tiikkaja |
|---|---|
| Тема | Re: Writeable CTEs and empty relations |
| Дата | |
| Msg-id | 4B70F37C.2000808@cs.helsinki.fi обсуждение исходный текст |
| Ответ на | Re: Writeable CTEs and empty relations (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On 2010-02-09 01:09 +0200, Tom Lane wrote: > Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi> writes: >> I traced this down to heapam.c, which has this: >> ... >> This doesn't exactly work anymore since we modify the snapshot after >> calling ExecInitScan(). > > So don't do that. The executor is generally entitled to assume that > parameters given to ExecutorStart are correct. In particular, changing > the snapshot after the query has started to run seems to me to ensure > all sorts of inconsistent and undesirable behavior. You do remember that the whole patch in its current form depends on modifying the snapshot? Regards, Marko Tiikkaja
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера