Re: Arrays and foreign keys

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Arrays and foreign keys
Дата
Msg-id 200010120304.XAA03112@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Arrays and foreign keys  (Kaare Rasmussen <kar@webline.dk>)
Список pgsql-hackers
> > Well, the two types aren't the same (one is an integer the
> > other an integer array,) so I wouldn't expect it to work. Note: 
> 
> Eh, I could figure that out myself. What I'm asking for is if there is a way to
> combine arrays with foreign keys?
> 
> I believe the answer for now is 'no', but did like to get it confirmed, and
> also draw attention to this if someone wants to make it.
> 
> > * Make sure that types used in foreign key constraints
> >   are comparable.
> 
> And maybe 
> * Add foreign key constraint for arrays

Added to TODO.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [GENERAL] postgresql 7.1
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Arrays and foreign keys