From: Twist <vchris@club-internet.fr>
To: pgsql-admin@postgresql.org
Subject: Postgres LOG and NOTICE info..
Date: Mon, 27 Aug 2001 17:08:09 -0000
Message-ID: <9mdnrh$33l$1@news.tht.net> (raw)
Hi,
im using a jdbc connection to access postgres and somehow once i manage
transaction by myself i got some:
NOTICE: BEGIN: already a transaction in progress
NOTICE: COMMIT: no transaction
doing :
conn = ds.getConnection();
try
{
conn.setAutoCommit(false);
...
conn.commit();
}
catch(Exception e) {conn.rollback();}
finally
{
conn.setAutoCommit(true);
conn.close();
}
some questions come to my mind :
Why can i have those notices since i always commit or rollback a transaction
and i left the connection in the pool in AutoCommit ? (i should ask that in
jdbc section may be)
How can i tell postgres to not log those notices ?
i have debug_level = 0 and i would like to have only true errors in my log
Thx in advance
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: vchris@club-internet.fr
Subject: Re: Postgres LOG and NOTICE info..
In-Reply-To: <9mdnrh$33l$1@news.tht.net>
References: <9mdnrh$33l$1@news.tht.net>
* 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