Re: table is not a table

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: table is not a table
Дата
Msg-id 20060125174322.GA76244@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: table is not a table  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: table is not a table  ("Ilja Golshtein" <ilejn@yandex.ru>)
Список pgsql-general
On Wed, Jan 25, 2006 at 11:26:39AM -0500, Tom Lane wrote:
> "Ilja Golshtein" <ilejn@yandex.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

В списке pgsql-general по дате отправления:

Предыдущее
От: andrew
Дата:
Сообщение: Re: user defined function
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Postgresql Segfault in 8.1