Re: Display of foreign keys in psql

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Display of foreign keys in psql
Date: 2009-06-10 21:58:44
Message-ID: 200906102158.n5ALwiJ05182@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:
> 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?)

Probably not. They were used to capitalizing "IN" for a subquery and it
carried over; should be lowercase.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2009-06-10 22:04:12 Re: Display of foreign keys in psql
Previous Message Peter Eisentraut 2009-06-10 21:48:08 Display of foreign keys in psql