pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: cjwhite@cisco.com
Cc: pgsql-jdbc@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems with Large Objects using Postgres 7.2.1
Date: Wed, 09 Apr 2003 12:51:01 -0400
Message-ID: <8263.1049907061@sss.pgh.pa.us> (raw)
In-Reply-To: <010c01c2feb4$a6ebe100$ff926b80@amer.cisco.com>
References: <010c01c2feb4$a6ebe100$ff926b80@amer.cisco.com>

"Chris White" <cjwhite@cisco.com> writes:
>   What I am seeing is that when all 8 threads are running and the system is
> shutdown, large objects committed in transactions near to the shutdown are
> corrupt when the database is restarted. I know the large objects are
> committed, because the associated entries in the tables which point to the
> large objects are present after the restart with valid information about the
> large object length and oid. However when I access the large objects I am
> only returned a 2K chunk even though the table entry tells me the entry
> should be 320K.

Hmm.  Have you tried looking directly into pg_largeobject to see what
row(s) are present for the particular LO ID?  Is the data that's there
valid?

>   Anybody have any ideas what is the problem? Are there any know issues with
> the recovery of large objects?

No, news to me.  I would suggest that you should be running 7.2.4, not
7.2.1; we don't make dot-releases just to keep busy.  But offhand I
don't know of any recent reports of symptoms like this.

			regards, tom lane




view thread (17+ messages)  latest in thread

Message-ID: <8263.1049907061@sss.pgh.pa.us>
Permalink:  ../8263.1049907061@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8263.1049907061@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, cjwhite@cisco.com, pgsql-jdbc@postgresql.org
  Subject: Re: Problems with Large Objects using Postgres 7.2.1
  In-Reply-To: <8263.1049907061@sss.pgh.pa.us>
  References: <010c01c2feb4$a6ebe100$ff926b80@amer.cisco.com> <8263.1049907061@sss.pgh.pa.us>

* 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