X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 56F2C475A8D; Wed, 9 Apr 2003 12:51:06 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 6739A474E44; Wed, 9 Apr 2003 12:51:02 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h39Gp22L008264; Wed, 9 Apr 2003 12:51:02 -0400 (EDT) To: cjwhite@cisco.com Cc: pgsql-jdbc@postgresql.org, pgsql-admin@postgresql.org Subject: Re: Problems with Large Objects using Postgres 7.2.1 In-reply-to: <010c01c2feb4$a6ebe100$ff926b80@amer.cisco.com> References: <010c01c2feb4$a6ebe100$ff926b80@amer.cisco.com> Comments: In-reply-to "Chris White" message dated "Wed, 09 Apr 2003 09:25:35 -0700" Date: Wed, 09 Apr 2003 12:51:01 -0400 Message-ID: <8263.1049907061@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-32.5 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/149 X-Sequence-Number: 8304 "Chris White" 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