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 и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.