Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.4) with SMTP id f7UEcGf40509 for ; Thu, 30 Aug 2001 10:38:16 -0400 (EDT) (envelope-from pgsql-admin-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f7RFWCf18680 for ; Mon, 27 Aug 2001 11:32:12 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f7RF9qs03202 for pgsql-admin@postgresql.org; Mon, 27 Aug 2001 11:09:52 -0400 (EDT) (envelope-from news) From: "Twist" X-Newsgroups: comp.databases.postgresql.admin Subject: Postgres LOG and NOTICE info.. Date: Mon, 27 Aug 2001 17:08:09 -0000 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 37 Message-ID: <9mdnrh$33l$1@news.tht.net> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2479.0006 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 To: pgsql-admin@postgresql.org X-Archive-Number: 200108/129 X-Sequence-Number: 2065 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