X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B3E5A475458; Wed, 9 Apr 2003 17:26:08 -0400 (EDT) Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238]) by postgresql.org (Postfix) with ESMTP id 945D2474E42; Wed, 9 Apr 2003 17:26:07 -0400 (EDT) Received: from mira-sjc5-e.cisco.com (IDENT:mirapoint@mira-sjc5-e.cisco.com [171.71.163.15]) by sj-core-5.cisco.com (8.12.6/8.12.6) with ESMTP id h39LPnGQ013553; Wed, 9 Apr 2003 14:26:00 -0700 (PDT) Received: from CJWHITEW2K2 (dhcp-128-107-146-255.cisco.com [128.107.146.255]) by mira-sjc5-e.cisco.com (Mirapoint Messaging Server MOS 3.3.3-GR) with ESMTP id ADB82157; Wed, 9 Apr 2003 14:25:49 -0700 (PDT) Reply-To: From: "Chris White" To: "'Tom Lane'" Cc: , Subject: Re: [JDBC] Problems with Large Objects using Postgres 7.2.1 Date: Wed, 9 Apr 2003 14:25:48 -0700 Message-ID: <013401c2fede$9754ff40$ff926b80@amer.cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <10038.1049923111@sss.pgh.pa.us> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Spam-Status: No, hits=-31.5 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,ORIGINAL_MESSAGE, QUOTED_EMAIL_TEXT,REPLY_WITH_QUOTES 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/164 X-Sequence-Number: 8319 The first and second are over the same connection. The third is over a different connection, but issued after the second transaction has completed. -----Original Message----- From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Tom Lane Sent: Wednesday, April 09, 2003 2:19 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: >> BTW what do you mean exactly by "commit" above? There is no notion of >> committing a large object separately from committing a transaction. > I meant committing the transaction. The first transaction commit is after > the large object is written and closed. Second is after the large object > update and close. Then the third is after the associated tables are updated. Hmm. So the state you are seeing corresponds to the commit of the first transaction, as far as the LO itself goes --- that's perfectly reasonable. But I don't see how it could be that the third transaction appears committed while the second does not. Are you issuing all these transactions over the same database connection? Perhaps the second transaction isn't really committed? 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