Re: unknown type
От | Viktor Bojović |
---|---|
Тема | Re: unknown type |
Дата | |
Msg-id | BANLkTinm0JjoJgV9wWuT1hdkgOqucRnbyw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: unknown type (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-admin |
On Wed, May 4, 2011 at 3:58 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Viktor Bojović <viktor.bojovic@gmail.com> writes:It's most likely a view with an output column that's an undecorated
> while restoring backup i have received these messages
> WARNING: column "id" has type "unknown"
> DETAIL: Proceeding with relation creation anyway.
string literal.Try something like
> I have tried to grep schema-only dump file, but i didn't find word unknown.
> When i have extracted all mentioned ID fields i didn't find any field which
> is not of type integer,smallint or varchar.
> How can i find out which table has that unknown type?
select attrelid::regclass, attname from pg_attribute where atttypid = 'unknown'::regtype;
regards, tom lane
that solved the problem. thanx
--
---------------------------------------
Viktor Bojović
---------------------------------------
Wherever I go, Murphy goes with me
В списке pgsql-admin по дате отправления: