Re: Shorthand for foreign key indices
От | Jim C. Nasby |
---|---|
Тема | Re: Shorthand for foreign key indices |
Дата | |
Msg-id | 20050508171054.GC88920@decibel.org обсуждение исходный текст |
Ответ на | Shorthand for foreign key indices (Brendan Jurd <direvus@gmail.com>) |
Ответы |
Re: Shorthand for foreign key indices
|
Список | pgsql-general |
On Mon, May 09, 2005 at 02:05:14AM +1000, Brendan Jurd wrote: > CREATE TABLE foo ( > foo int NOT NULL REFERENCES bar INDEX > ); > > ... would be marvellous I agree that it would be handy. Another possibility is throwing a NOTICE or even WARNING if you create a foreign key that isn't covered by an index. > My apologies if this has been answered before, but a search of the > -general mailing list was not fruitful. FYI, often times new ideas are only discussed on -hackers, so you should search there as well. -- Jim C. Nasby, Database Consultant decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"
В списке pgsql-general по дате отправления: