Display of foreign keys in psql

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Display of foreign keys in psql
Date: 2009-06-10 21:48:08
Message-ID: 200906110048.09113.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'm having trouble coming up with a sensible translation for the last line of
this:

peter=# \d test*
Table "public.test1"
Column | Type | Modifiers
--------+---------+-----------
a | integer | not null
Indexes:
"test1_pkey" PRIMARY KEY, btree (a)
Referenced by:
"test2_y_fkey" IN test2 FOREIGN KEY (y) REFERENCES test1(a)

Is there a magic reason why the IN is capitalized? (Maybe "from" would be
better anyway?)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2009-06-10 21:58:44 Re: Display of foreign keys in psql
Previous Message Greg Stark 2009-06-10 20:58:46 Re: pgindent run coming