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 15373.1244672465@sss.pgh.pa.us
Whole thread Raw
In response to Re: Display of foreign keys in psql  (Greg Stark <stark@enterprisedb.com>)
Responses Re: Display of foreign keys in psql  (Greg Stark <stark@enterprisedb.com>)
List pgsql-hackers
Greg Stark <stark@enterprisedb.com> writes:
> So perhaps something like:

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

+1

... although making it *really* copy-and-pastable would require a bit
more attention to detail than I bet it's gotten.  (Schema qualification
and double-quoting-at-need being the likely trouble spots.)  Still,
we can fix that later if we have the basic appearance being compatible
with that goal.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Not quite a security hole in internal_in
Next
From: Mark Kirkwood
Date:
Subject: Re: [BUGS] Cursor with hold emits the same row more than once across commits in 8.3.7