| От | Tom Lane |
|---|---|
| Тема | Re: --single-transaction doc clarification |
| Дата | |
| Msg-id | 22553.1162261888@sss.pgh.pa.us обсуждение |
| Ответ на | Re: --single-transaction doc clarification (Neil Conway <neilc@samurai.com>) |
| Список | pgsql-patches |
Neil Conway <neilc@samurai.com> writes:
> On Tue, 2006-10-31 at 01:07 +0000, Simon Riggs wrote:
>> As requested.
> Applied, thanks for the patch.
This patch converted a correct statement into a lie: there is not
anything that will cause begin/commit in a script file to fail just
because you wrapped begin/commit around them. I rewrote the text to
If the script itself uses <command>BEGIN</>, <command>COMMIT</>,
or <command>ROLLBACK</>, this option will not have the desired
effects.
Also, if the script contains any command that cannot be executed
inside a transaction block, specifying this option will cause that
command (and hence the whole transaction) to fail.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера