Re: BUG #5926: information schema dtd_identifier for element_types, columns, parameters views inconsistent

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Susanne Ebrecht <susanne(at)2ndQuadrant(dot)com>, Ingmar Brouns <swingi(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5926: information schema dtd_identifier for element_types, columns, parameters views inconsistent
Date: 2011-06-09 15:00:30
Message-ID: 1307631630.24477.8.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-docs

On ons, 2011-06-08 at 11:09 -0400, Tom Lane wrote:
> As far as I can tell from the spec, dtd_identifier
> ought to be the identifier of the element type, while
> collection_type_identifier should be a made-up identifier for the
> array type. That would make the sample query given in the docs
> correct.

But it's collection_type_identifier that you join against, say, columns,
so you can resolve the element type of column types. So
collection_type_identifier must match the dtd_identifier schema of
columns etc., whereas element_types.dtd_identifier is not joinable
against anything.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2011-06-09 17:30:41 Re: collation problem on 9.1-beta1
Previous Message Peter Eisentraut 2011-06-08 21:43:27 Re: BUG #5926: information schema dtd_identifier for element_types, columns, parameters views inconsistent

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2011-06-09 22:48:17 Re: ECPG, sentence not complete
Previous Message Peter Eisentraut 2011-06-08 21:43:27 Re: BUG #5926: information schema dtd_identifier for element_types, columns, parameters views inconsistent