Re: ERROR: "foo_type" is a composite type

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: "foo_type" is a composite type
Дата
Msg-id 13885.1064883118@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ERROR: "foo_type" is a composite type  (Gaetano Mendola <mendola@bigfoot.com>)
Список pgsql-hackers
Gaetano Mendola <mendola@bigfoot.com> writes:
> CREATE TYPE foo_type AS (a INTEGER);

> DECLARE
>     my_var  foo_type%rowtype;

> ERROR:  "foo_type" is a composite type
> CONTEXT:  compile of PL/pgSQL function "foo" near line 2

Hmm, that was an unintended side-effect of another change.
I can't see any strong reason to forbid this programming
pattern, so I'll fix it.  Thanks for the report.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)