Saturday, September 20, 2008

Re: [HACKERS] Foreign key constraint for array-field?

David Fetter wrote:
> On Sun, Sep 21, 2008 at 04:38:56AM +0400, Dmitry Koterov wrote:
>> Hello.
>>
>> Is it possible to create a foreign key constraint for ALL elements of
>> an array field?
>
> Whether it's possible or not--it probably is--it's a very bad idea.
> Just normalize :)

+1

>
> Cheers,
> David.


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

No comments: