Re: Idle idea for a feature - Mailing list pgsql-hackers

From Guillaume Smet
Subject Re: Idle idea for a feature
Date
Msg-id 1d4e0c10704101348y20962893ybba502ad08c4c616@mail.gmail.com
Whole thread Raw
In response to Idle idea for a feature  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Idle idea for a feature  (NikhilS <nikkhils@gmail.com>)
List 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 by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: Re: [DOCS] uuid type not documented
Next
From: Tom Lane
Date:
Subject: Re: [DOCS] uuid type not documented