Re: Recursive types?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Recursive types?
Дата
Msg-id 29643.1113230261@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Recursive types?  ("John Hansen" <john@geeknet.com.au>)
Список pgsql-hackers
"John Hansen" <john@geeknet.com.au> writes:
> create table foo ( id serial primary key, path text);
> alter table foo add ref foo;

> Is this a bug or a random feature?

I'd say it's a random misfeature ;-).  I certainly don't care to promise
that it's supported ... but on the other hand, preventing you from doing
it seems nontrivial (consider indirect recursions).  I'd put this in the
category of "doctor, it hurts when I do that".
        regards, tom lane


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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Need help woth thread support in ecpglib
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Question regarding clock-sweep