Discussion:
Default Transaction Mode
(too old to reply)
Terry Hampton
2004-01-09 21:31:05 UTC
Permalink
Is it possible to configure Postgres,
or to start PG daemons so that it
operates in a transaction mode by default ?

We do a lot of work at the PG prompt, and I'd
like to have one additional "safety net" - to manual
commit all SQL's. Sure - I can "begin work" etc.
but I'd like that to be automatic.

Thanks,
Terry
--
Terry L. Hampton
Program Manager
LimaCorp, LLC. www.limacorp.com
513.587.1874



---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
Manuel Sugawara
2004-01-10 01:08:32 UTC
Permalink
Post by Terry Hampton
Is it possible to configure Postgres,
or to start PG daemons so that it
operates in a transaction mode by default ?
We do a lot of work at the PG prompt, and I'd
like to have one additional "safety net" - to manual
commit all SQL's. Sure - I can "begin work" etc.
but I'd like that to be automatic.
If you are working with psql type set autocommit to false if using
version 7.3 or \unset AUTOCOMMIT for version 7.4. You can put those
commands in your .psqlrc file and psql will read it each time it's
invoked. See psql(1) for details.

Regards,
Manuel.

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Loading...