Re: BUG #1006: information schema constraint information.

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: info(at)majolee(dot)info, "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #1006: information schema constraint information.
Date: 2003-12-16 14:59:29
Message-ID: 200312161559.29990.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > Tom Lane wrote:
> >> But if I read SQL99 correctly, only referencing not referenced
> >> columns are supposed to be shown.
> >
> > It is supposed to show the referenced (primary key) columns.
>
> [ reads spec more carefully... ] Yeah, I think you are right.
> We are going to need a separate UNION arm for the foreign-key case.

Fixed. The union branch was already trying to differentiate between
primary key and foreign key when joining the columns, but not when
joining the tables. Just a thinko.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PostgreSQL Bugs List 2003-12-16 17:01:48 BUG #1009: ERROR: could not open segment 1 of relation...
Previous Message Michael Fuhr 2003-12-16 03:59:11 pg_service.conf ignores dbname parameter