Skip site navigation (1) Skip section navigation (2)

isolation level and autocommit

From: Manfred Rebentisch <MRebentisch(at)comparat(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Subject: isolation level and autocommit
Date: 2005-04-20 08:12:51
Message-ID: bhfhj2-tg6.ln1@oexs8.comparat.intra (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
I have a question to configuration of PostgreSQL 7.3

If in var/lib/pgsql/data/postgresql.conf the variable autocommit is set to
true, I cannot work with transactions, because all is commited immediately.

I set autocommit to false and set default_transaction_isolation =
'serializable', because this I need for one application. In this
application I set the following command after connect:


Its work perfect.

But if I work with phpPgAdmin on the database, I have to use "BEGIN" and
"COMMIT" with every action. Is this changeable? It may be ok for me, if it
is only for the one database, but it is now for every pgsql-database on
this server.

I want to have 'autocommit=true' with the one database and the above
behaviour with the other database. How do I realize that?

Thank you for comments in advance.
Manfred Rebentisch


pgsql-admin by date

Next:From: Askar ZaidiDate: 2005-04-20 10:59:57
Subject: pgcluster usage??
Previous:From: Sherwin ChuaDate: 2005-04-20 06:20:42
Subject: Re: Pg7.1 to Pg7.2 Upgrade

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group