X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 21A74475458; Wed, 9 Apr 2003 17:52:57 -0400 (EDT) Received: from mail.xythos.com (unknown [206.14.210.116]) by postgresql.org (Postfix) with ESMTP id 13C4A474E42; Wed, 9 Apr 2003 17:52:56 -0400 (EDT) Received: from ravms by mail.xythos.com with mail-ok (Exim 3.36 #3) id 193NV4-0002jT-00; Wed, 09 Apr 2003 21:52:58 +0000 Received: from localhost.localdomain ([127.0.0.1] helo=xythos.com) by mail.xythos.com with asmtp (Exim 3.36 #3) id 193NV3-0002jI-00; Wed, 09 Apr 2003 21:52:57 +0000 Message-ID: <3E949639.90306@xythos.com> Date: Wed, 09 Apr 2003 14:52:57 -0700 From: Barry Lind User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cjwhite@cisco.com Cc: 'Tom Lane' , pgsql-jdbc@postgresql.org, pgsql-admin@postgresql.org Subject: Re: [JDBC] Problems with Large Objects using Postgres 7.2.1 References: <013501c2fee0$bb42ecd0$ff926b80@amer.cisco.com> In-Reply-To: <013501c2fee0$bb42ecd0$ff926b80@amer.cisco.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Envelope-To: cjwhite@cisco.com, tgl@sss.pgh.pa.us, pgsql-jdbc@postgresql.org, pgsql-admin@postgresql.org X-Spam-Status: No, hits=-38.8 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/190 X-Sequence-Number: 8345 It is a setting in the postgresql.conf file. In 7.2 you set the parameter debug_print_query to true (in 7.3 the parameter named changed to log_statement) --Barry Chris White wrote: > How do I do that? > > -----Original Message----- > From: pgsql-jdbc-owner@postgresql.org > [mailto:pgsql-jdbc-owner@postgresql.org]On Behalf Of Tom Lane > Sent: Wednesday, April 09, 2003 2:31 PM > To: cjwhite@cisco.com > Cc: pgsql-jdbc@postgresql.org; pgsql-admin@postgresql.org > Subject: Re: [JDBC] [ADMIN] Problems with Large Objects using Postgres > 7.2.1 > > > "Chris White" writes: > >>The first and second are over the same connection. The third is over a >>different connection, but issued after the second transaction has > > completed. > > Oh? At this point I'm prepared to bet that the second transaction isn't > really committed when you think it is. Perhaps the "COMMIT" command > isn't getting flushed out to the backend on time. You might want to > turn on query logging and watch to see exactly what happens when. > > regards, tom lane > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html >