Re: Idle idea for a feature

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Idle idea for a feature
Дата
Msg-id 200803070003.m2703MO27771@momjian.us
обсуждение исходный текст
Ответ на Idle idea for a feature  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Idle idea for a feature  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Tom Lane wrote:
> psql's \d command tells you about outgoing foreign key constraints
> (ie, ones referencing another table from this one).  It doesn't tell
> you about incoming ones (ie, ones where another table references this
> one).  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.  I'm not real sure what the printout should look like, though.

Added to TODO:
       o Have \d show foreign keys that reference a table's primary key
         http://archives.postgresql.org/pgsql-hackers/2007-04/msg00424.php

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://postgres.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Bernd Helmle
Дата:
Сообщение: Re: [PATCHES] Updatable views
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Idle idea for a feature