Re: Recursive types? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Recursive types?
Date
Msg-id 29643.1113230261@sss.pgh.pa.us
Whole thread Raw
In response to Recursive types?  ("John Hansen" <john@geeknet.com.au>)
List 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 by date:

Previous
From: Michael Meskes
Date:
Subject: Need help woth thread support in ecpglib
Next
From: Josh Berkus
Date:
Subject: Re: Question regarding clock-sweep