Re: Error:TypeCreate: type links already defined

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Error:TypeCreate: type links already defined
Дата
Msg-id 007601c0bb93$62b83580$1001a8c0@archonet.com
обсуждение исходный текст
Ответ на Error:TypeCreate: type links already defined  (Najm Hashmi <najm@mondo-live.com>)
Список pgsql-sql
From: "Najm Hashmi" <najm@mondo-live.com>

> Hi all, I have posted my question since last Thurday and noone has
answered it
> yet. My problems is that I droped a table  using  pgaccess from pg_class.
Now
> If  I try to create that table I get the following error: TypeCreate: type
> links already defined.
> Could some one help  me out here.
> Regards

Need more information Najm - obivously PG is trying to create a type "links"
and failing - do you have anything called "links" in your table definition
or the rest of your database?

Perhaps look in the pg_types table:

select oid,* from pg_types where typname like 'lin%';

Don't go deleting it without knowing what it is though. If your table is
called "links" I'd guess it's fine to delete it, but I'd take a backup first
anyway.

- Richard Huxton



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

Предыдущее
От: Roberto Mello
Дата:
Сообщение: Re: Calling functions inside a function: behavior
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Fwd: Calling functions inside a function: behavior