pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Manfred Rebentisch <MRebentisch@comparat.de>
To: pgsql-admin@postgresql.org
Subject: isolation level and autocommit
Date: Wed, 20 Apr 2005 10:12:51 +0200
Message-ID: <bhfhj2-tg6.ln1@oexs8.comparat.intra> (raw)

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:

SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL SERIALIZABLE

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




view thread (3+ messages)  latest in thread

Message-ID: <bhfhj2-tg6.ln1@oexs8.comparat.intra>
Permalink:  ../bhfhj2-tg6.ln1@oexs8.comparat.intra/
Also on:    postgresql.org/message-id/bhfhj2-tg6.ln1@oexs8.comparat.intra

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: MRebentisch@comparat.de
  Subject: Re: isolation level and autocommit
  In-Reply-To: <bhfhj2-tg6.ln1@oexs8.comparat.intra>
  References: <bhfhj2-tg6.ln1@oexs8.comparat.intra>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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