Re: Idle idea for a feature

Поиск
Список
Период
Сортировка
От Guillaume Smet
Тема Re: Idle idea for a feature
Дата
Msg-id 1d4e0c10704101348y20962893ybba502ad08c4c616@mail.gmail.com
обсуждение исходный текст
Ответ на Idle idea for a feature  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Idle idea for a feature  (NikhilS <nikkhils@gmail.com>)
Список pgsql-hackers
On 4/10/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> ISTM it'd be a good idea if it did, as "are there any incoming
> foreign keys" seems to be a question we constantly ask when solving
> update-performance problems, and there isn't any easy way to check for
> such.

Sure. We wrote a stored proc to do that and it could be really nice to
have it by defaut in the table definition.

Something like:
Incoming foreign keys:  "name_of_the_fkey" (column of this table) REFERENCED BY
table(columns of the other table)
could be nice.
Not sure about the title of the section. Another problem is that this
syntax is not based on valid SQL syntax.

--
Guillaume


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

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: [DOCS] uuid type not documented
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [DOCS] uuid type not documented