pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris White <cjwhite@cisco.com>
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
Cc: pgsql-jdbc@postgresql.org
Cc: pgsql-admin@postgresql.org
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> (raw)
In-Reply-To: <10038.1049923111@sss.pgh.pa.us>

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" <cjwhite@cisco.com> 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




view thread (17+ messages)  latest in thread

Message-ID: <013401c2fede$9754ff40$ff926b80@amer.cisco.com>
Permalink:  ../013401c2fede$9754ff40$ff926b80@amer.cisco.com/
Also on:    postgresql.org/message-id/013401c2fede$9754ff40$ff926b80@amer.cisco.com

 · 

reply

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: cjwhite@cisco.com, tgl@sss.pgh.pa.us, pgsql-jdbc@postgresql.org
  Subject: Re: [JDBC] Problems with Large Objects using Postgres 7.2.1
  In-Reply-To: <013401c2fede$9754ff40$ff926b80@amer.cisco.com>
  References: <10038.1049923111@sss.pgh.pa.us> <013401c2fede$9754ff40$ff926b80@amer.cisco.com>

* 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