Re: help with corrupted database

From: strk <strk(at)keybit(dot)net>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: help with corrupted database
Date: 2005-03-23 15:02:37
Message-ID: 20050323150237.GA9693@freek.keybit.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 23, 2005 at 02:49:53PM +0000, Richard Huxton wrote:
> strk wrote:
> >On Wed, Mar 23, 2005 at 01:48:11PM +0000, Richard Huxton wrote:
> >
> >>strk wrote:
> >>
> >>>Hello.
> >>>A memory fault in a trigger left my database
> >>>in a corrupted state:
> >>>
> >>
> >>> - I can't create temporary tables anymore
> >>> (restart/vacuum full don't help)
> >>> ERROR: cache lookup failed for relation 1250714
> >>
> >>*What* is giving this error? Something seems to be holding onto a
> >>reference to (at a guess) your temporary table. Can you identify what?
> >
> >
> >Whatever is called from create temp table ..
> >
> >strk=# create temp table test1(a int);
> >ERROR: cache lookup failed for relation 1250714
> >strk=# create temp table test2(a int);
> >ERROR: cache lookup failed for relation 1250714
>
> Have you disconnected/reconnected since deleting the temp table?

Yes. And vacuum full'd. And pg_ctl stop/start.
--strk;

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-03-23 15:04:43 Re: locks in CREATE TRIGGER, ADD FK
Previous Message Richard Huxton 2005-03-23 14:49:53 Re: help with corrupted database