Re: Display of foreign keys in psql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Display of foreign keys in psql
Date
Msg-id 15710.1244673596@sss.pgh.pa.us
Whole thread Raw
In response to Re: Display of foreign keys in psql  (Greg Stark <stark@enterprisedb.com>)
List pgsql-hackers
Greg Stark <stark@enterprisedb.com> writes:
> On Wed, Jun 10, 2009 at 11:21 PM, Tom Lane<tgl@sss.pgh.pa.us> wrote:
>> Greg Stark <stark@enterprisedb.com> writes:
>>> TABLE test2 CONSTRAINT test2_y_fkey FOREIGN KEY (y) REFERENCES test1(a);
>> 
>> +1

> Even there the "TABLE" is kind of optional. It would stlil make sense as

> Referenced by:
> test2 CONSTRAINT test2_y_fkey FOREIGN KEY (y) REFERENCES test1(a)

I think that goes against our message style guidelines (46.3.9:
"When citing the name of an object, state what kind of object it is").
Not sure if brevity is worth a small chance of confusion.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Display of foreign keys in psql
Next
From: "J. Greg Davidson"
Date:
Subject: 8.4beta[12] set returning function fails -- was O.K. with 8.3