X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 06F16475458; Wed, 9 Apr 2003 17:18:32 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 44B51474E42; Wed, 9 Apr 2003 17:18:31 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h39LIV2L010039; Wed, 9 Apr 2003 17:18:31 -0400 (EDT) To: cjwhite@cisco.com Cc: pgsql-jdbc@postgresql.org, pgsql-admin@postgresql.org Subject: Re: [JDBC] Problems with Large Objects using Postgres 7.2.1 In-reply-to: <013101c2fed5$c6b8e390$ff926b80@amer.cisco.com> References: <013101c2fed5$c6b8e390$ff926b80@amer.cisco.com> Comments: In-reply-to "Chris White" message dated "Wed, 09 Apr 2003 13:22:42 -0700" Date: Wed, 09 Apr 2003 17:18:31 -0400 Message-ID: <10038.1049923111@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-32.5 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,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/163 X-Sequence-Number: 8318 "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