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: Problems with Large Objects using Postgres 7.2.1
Date: Wed, 9 Apr 2003 10:04:09 -0700
Message-ID: <012a01c2feba$09ccbce0$ff926b80@amer.cisco.com> (raw)
In-Reply-To: <8263.1049907061@sss.pgh.pa.us>

Tom,

I didn't looked at the data in the table. However, when I did a lo_export of
one of the objects I only got a 2K file output.

Next time this happens I will look at the table data.

Chris

-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Tom Lane
Sent: Wednesday, April 09, 2003 9:51 AM
To: cjwhite@cisco.com
Cc: pgsql-jdbc@postgresql.org; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Problems with Large Objects using Postgres 7.2.1


"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


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org




view thread (17+ messages)  latest in thread

Message-ID: <012a01c2feba$09ccbce0$ff926b80@amer.cisco.com>
Permalink:  ../012a01c2feba$09ccbce0$ff926b80@amer.cisco.com/
Also on:    postgresql.org/message-id/012a01c2feba$09ccbce0$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: Problems with Large Objects using Postgres 7.2.1
  In-Reply-To: <012a01c2feba$09ccbce0$ff926b80@amer.cisco.com>
  References: <8263.1049907061@sss.pgh.pa.us> <012a01c2feba$09ccbce0$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