Re: table is not a table

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: ilejn(at)yandex(dot)ru, pgsql-general(at)postgresql(dot)org
Subject: Re: table is not a table
Date: 2006-01-25 17:43:22
Message-ID: 20060125174322.GA76244@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jan 25, 2006 at 11:26:39AM -0500, Tom Lane wrote:
> "Ilja Golshtein" <ilejn(at)yandex(dot)ru> writes:
> > postgres=# create table ddd(f1 int4);
> > CREATE TABLE
> > postgres=# drop table ddd;
> > ERROR: "ddd" is not a table
>
> That's just plain bizarre. Would you try it with \set VERBOSITY verbose
> so we can see exactly where the error is coming from?
>
> Has this installation been working for you before? I'm wondering about
> a corrupt backend executable file, or some such ...

Could a corrupt catalog be responsible? Might a query like the
following reveal anything?

SELECT c.ctid, c.xmin, c.xmax, c.oid, c.relname, c.relkind,
n.ctid, n.xmin, n.xmax, n.oid, n.nspname
FROM pg_class AS c
LEFT JOIN pg_namespace AS n ON n.oid = c.relnamespace
WHERE c.relname ~* '^ddd';

--
Michael Fuhr

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2006-01-25 17:46:59 Re: Postgresql Segfault in 8.1
Previous Message andrew 2006-01-25 17:41:53 Re: user defined function