Hi all
How to set autocommit off. I want transactions which requires explicit
commit and after commit a new transaction is started as in Oracle sql plus.
When using start transaction it requires to type start transaction every
time.
Antony Paul
Use BEGIN to open a transaction ( that's the difference to Oracle )
and COMMIT or ROLLBACK to close it.
Antony Paul schrieb:
> Hi all
> How to set autocommit off. I want transactions which requires
> explicit
> commit and after commit a new transaction is started as in Oracle sql
> plus.
> When using start transaction it requires to type start transaction every
> time.
>
> Antony Paul
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
"Antony Paul" <antonypaul24@hotmail.com> writes:
> How to set autocommit off.
In psql, \set AUTOCOMMIT off
regards, tom lane
Есть вопросы? Напишите нам!
✖
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера