| От | Vadim Mikheev |
|---|---|
| Тема | Re: time stops within transaction |
| Дата | |
| Msg-id | 00fd01c039fe$20752b40$bb7a30d0@sectorbase.com обсуждение исходный текст |
| Ответ на | Re: time stops within transaction (Alex Pilosov <alex@pilosoft.com>) |
| Список | pgsql-hackers |
> I am inclined to think that we should do SetQuerySnapshot in the outer > loop of pg_exec_query_string, just before calling > pg_analyze_and_rewrite. This would ensure that parse/plan accesses to ^^^^^^^^^^^^^^ Actually not - snapshot is passed as parameter to heap_beginscan... And currently SnapshotNow is used everywhere. > If we did that, then SetQuerySnapshot would be called once per user- > written command (defining a command as whatever the grammar produces > a single parsetree for, which is probably OK) so long as SPI functions > don't try to use pg_exec_query_string... SPI doesn't try this from its birthday in ~6.2 Vadim
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера