Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 1D6771337B93 for ; Thu, 5 May 2011 14:12:47 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 31390-05 for ; Thu, 5 May 2011 17:12:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from cooker.cnx.rice.edu (cooker.cnx.rice.edu [168.7.5.70]) by mail.postgresql.org (Postfix) with ESMTP id 5F1D41337A5D for ; Thu, 5 May 2011 14:12:38 -0300 (ADT) Received: from reedstrm by cooker.cnx.rice.edu with local (Exim 4.69) (envelope-from ) id 1QI1Tt-00076G-9I for pgsql-admin@postgresql.org; Thu, 05 May 2011 11:32:49 -0500 Date: Thu, 5 May 2011 11:32:49 -0500 From: "Ross J. Reedstrom" To: pgsql-admin@postgresql.org Subject: Re: Unable to Insert Row Message-ID: <20110505163249.GB10391@rice.edu> References: <4DBFB066.9010202@orkash.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/58 X-Sequence-Number: 37495 On Thu, May 05, 2011 at 08:23:16AM +0930, Sam Stearns wrote: > Dump/restore of table resolved this problem. Yeah, the 'repair' advice was probably bleed over from some other open source database that suffers from table corruption more regularly. Any sort of on disk corruption in a postgresql DB leads me to start looking at my hardware very carefully: seldom is it the software that is at fault, at least in this case. Ross -- Ross Reedstrom, Ph.D. reedstrm@rice.edu Systems Engineer & Admin, Research Scientist phone: 713-348-6166 Connexions http://cnx.org fax: 713-348-3665 Rice University MS-375, Houston, TX 77005 GPG Key fingerprint = F023 82C8 9B0E 2CC6 0D8E F888 D3AE 810E 88F0 BEDE > > On Wed, May 4, 2011 at 8:22 AM, Sam Stearns wrote: > > Does anyone else have any ideas on how to solve this problem besides > > this mysterious repair command? > > > > On Tue, May 3, 2011 at 6:33 PM, Sam Stearns wrote: > >> ---------- Forwarded message ---------- > >> From: Sam Stearns > >> Date: Tue, May 3, 2011 at 6:32 PM > >> Subject: Re: [ADMIN] Unable to Insert Row > >> To: Adarsh Sharma > >> > >> > >> Thanks, Adarsh. > >> > >> I don't see any references to a repair command in the 8.3 doco. > >> > >> On Tue, May 3, 2011 at 5:06 PM, Adarsh Sharma wrote: > >>> Try again after repairing the tables with the repair command. > >>> > >>> Best Regards, > >>> Adarsh > >>> > >>> Sam Stearns wrote: > >>>> > >>>> Howdy, > >>>> > >>>> Environment: > >>>> > >>>> Postgres 8.3.14 > >>>> Solaris 10 > >>>> > >>>> When attempting to insert a row, the following error is received: > >>>> > >>>> ERROR:  could not open relation with OID 926167091 > >>>> > >>>> This OID does not exist anywhere in the database.  Most inserts on > >>>> this table are successful.  It is only for 2 particular id's where the > >>>> inserts are failing with this error.  The id column is indexed.  I > >>>> have tried vacuum analyzing the database.  Still get the error.  I > >>>> have NOT tried re-indexing yet.  Some googling says a restart of > >>>> postgres fixes it.  I would like to get your thoughts first 'though, > >>>> please. > >>>> > >>>> Thank you, > >>>> > >>>> Sam > >>>> > >>>> > >>> > >>> > >> > > > > -- > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin >