pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedIssue with large objects
4+ messages / 2 participants
[nested] [flat]
* Issue with large objects
@ 2004-12-10 19:52 Chris White (cjwhite) <cjwhite@cisco.com>
2004-12-11 17:36 ` Re: [JDBC] Issue with large objects Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: Chris White (cjwhite) @ 2004-12-10 19:52 UTC (permalink / raw)
To: pgsql-admin; pgsql-jdbc@postgresql.org
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 does this mean and how do I resolve the issue? Do I need to re-index
the largeobject table?
Chris White
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: [JDBC] Issue with large objects
2004-12-10 19:52 Issue with large objects Chris White (cjwhite) <cjwhite@cisco.com>
@ 2004-12-11 17:36 ` Tom Lane <tgl@sss.pgh.pa.us>
2004-12-11 17:42 ` Re: [JDBC] Issue with large objects Chris White (cjwhite) <cjwhite@cisco.com>
0 siblings, 1 reply; 4+ messages in thread
From: Tom Lane @ 2004-12-11 17:36 UTC (permalink / raw)
To: cjwhite@cisco.com; +Cc: pgsql-admin; pgsql-jdbc@postgresql.org
"Chris White (cjwhite)" <cjwhite@cisco.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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: [JDBC] Issue with large objects
2004-12-10 19:52 Issue with large objects Chris White (cjwhite) <cjwhite@cisco.com>
2004-12-11 17:36 ` Re: [JDBC] Issue with large objects Tom Lane <tgl@sss.pgh.pa.us>
@ 2004-12-11 17:42 ` Chris White (cjwhite) <cjwhite@cisco.com>
2004-12-11 18:27 ` Re: [JDBC] Issue with large objects Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: Chris White (cjwhite) @ 2004-12-11 17:42 UTC (permalink / raw)
To: 'Tom Lane' <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin; pgsql-jdbc@postgresql.org
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@sss.pgh.pa.us]
Sent: Saturday, December 11, 2004 9:36 AM
To: cjwhite@cisco.com
Cc: pgsql-admin@postgresql.org; pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] Issue with large objects
"Chris White (cjwhite)" <cjwhite@cisco.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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: [JDBC] Issue with large objects
2004-12-10 19:52 Issue with large objects Chris White (cjwhite) <cjwhite@cisco.com>
2004-12-11 17:36 ` Re: [JDBC] Issue with large objects Tom Lane <tgl@sss.pgh.pa.us>
2004-12-11 17:42 ` Re: [JDBC] Issue with large objects Chris White (cjwhite) <cjwhite@cisco.com>
@ 2004-12-11 18:27 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 4+ messages in thread
From: Tom Lane @ 2004-12-11 18:27 UTC (permalink / raw)
To: cjwhite@cisco.com; +Cc: pgsql-admin; pgsql-jdbc@postgresql.org
"Chris White (cjwhite)" <cjwhite@cisco.com> writes:
> Also, I found by re-indexing the pg_largeobject table the problem seems to
> have gone away.
Um. That's probably destroyed the evidence :-( ie gotten rid of
whatever weird state you'd gotten the index into. But if you have
any luck reproducing it, I definitely want to know.
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2004-12-11 18:27 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-12-10 19:52 Issue with large objects Chris White (cjwhite) <cjwhite@cisco.com>
2004-12-11 17:36 ` Tom Lane <tgl@sss.pgh.pa.us>
2004-12-11 17:42 ` Chris White (cjwhite) <cjwhite@cisco.com>
2004-12-11 18:27 ` Tom Lane <tgl@sss.pgh.pa.us>
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