Re: How do BEGIN/COMMIT/ABORT operate in a nested SPI query?
В списке pgsql-general по дате отправления:
| От | |
|---|---|
| Тема | Re: How do BEGIN/COMMIT/ABORT operate in a nested SPI query? |
| Дата | |
| Msg-id | 001301d19961$2bfcf2d0$83f6d870$@andl.org обсуждение исходный текст |
| Ответы |
Re: How do BEGIN/COMMIT/ABORT operate in a nested SPI
query?
|
| Список | pgsql-general |
I am attempting to create a new language implementation. The language is Andl (andl.org), so the handler is plandl. This is a question about executing SPI queries from inside plandl. The documentation makes it clear that SPI allows nested queries; that in some instances it will be necessary to call SPI_push()and SPI_pop(), but in others this will be handled automatically. Se http://www.postgresql.org/docs/9.5/interactive/spi-spi-push.html. It is an important design feature of plandl to allow nested queries. My question is: where are the transaction boundaries if the inner/outer query do or do not contain BEGIN/ABORT/COMMIT? Dothey nest, or does an inner COMMIT finish a transaction started by an outer BEGIN, or is it ignored? Regards David M Bennett FACS Andl - A New Database Language - andl.org
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера