pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedHow to set autocommit on/off
2+ messages / 2 participants
[nested] [flat]
* How to set autocommit on/off
@ 2000-12-20 04:31 Kevin <kevin.lam@crownetravel.com>
0 siblings, 1 reply; 2+ messages in thread
From: Kevin @ 2000-12-20 04:31 UTC (permalink / raw)
To: pgsql-sql
As titled, is autocommit of Postgresql is default to be "ON", how to turn it
off then?
Thnaks,
Kevin
--
-------------------------------------
Kevin LAM, System Analyst
Crown Development Ltd.
A Shun Tak Group Company
Tel: (852) 2283-2132
Fax:(852) 2283-2727
-------------------------------------
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: How to set autocommit on/off
@ 2000-12-21 00:00 Jie Liang <jliang@jliang.ipinc.com>
parent: Kevin <kevin.lam@crownetravel.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jie Liang @ 2000-12-21 00:00 UTC (permalink / raw)
To: Kevin <kevin.lam@crownetravel.com>; +Cc: pgsql-sql
Hi, there,
I think you can use :
BEGIN; -- turn off
any DDL stmts
-- you can rollback them by
ROLLBACK;
END|COMMIT; -- turn on
Jie LIANG
Internet Products Inc.
10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873
jliang@ipinc.com
www.ipinc.com
On Wed, 20 Dec 2000, Kevin wrote:
> As titled, is autocommit of Postgresql is default to be "ON", how to turn it
> off then?
>
> Thnaks,
> Kevin
>
> --
> -------------------------------------
> Kevin LAM, System Analyst
> Crown Development Ltd.
> A Shun Tak Group Company
>
> Tel: (852) 2283-2132
> Fax:(852) 2283-2727
> -------------------------------------
>
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-12-21 00:00 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-12-20 04:31 How to set autocommit on/off Kevin <kevin.lam@crownetravel.com>
2000-12-21 00:00 ` Jie Liang <jliang@jliang.ipinc.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox