Re: [JDBC] Issue with large objects

From: "Chris White (cjwhite)" <cjwhite(at)cisco(dot)com>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-admin(at)postgresql(dot)org>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [JDBC] Issue with large objects
Date: 2004-12-11 17:42:15
Message-ID: 200412111742.iBBHgF6n015475@sj-core-3.cisco.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-jdbc

This is 7.4.5. I'm not sure I can get it to happen on an empty database, the
database this is happening on has about 300 large objects, but I will try.
Also, I found by re-indexing the pg_largeobject table the problem seems to
have gone away.

Chris White

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Saturday, December 11, 2004 9:36 AM
To: cjwhite(at)cisco(dot)com
Cc: pgsql-admin(at)postgresql(dot)org; pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] Issue with large objects

"Chris White (cjwhite)" <cjwhite(at)cisco(dot)com> writes:
> I am putting a large object into my database using jdbc interface and
> using LargeObjectManager to do largeobject open, write and close.
> After several largeobject writes I get the following message

> 'failed to re-find parent-key in "pg_largeobject_loid_pn_index"'

What PG version is this? Can you put together a self-contained test case
(ie, one that causes the error starting from an empty database)?

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Fuhr 2004-12-11 18:21:46 Re: How to temporarily disable referntial integrity?
Previous Message Tom Lane 2004-12-11 17:36:02 Re: [JDBC] Issue with large objects

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2004-12-11 18:27:21 Re: [JDBC] Issue with large objects
Previous Message John R Pierce 2004-12-11 17:37:16 Re: PostgreSQL + SSL - sun.security.validator.ValidatorException