From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Susanne Ebrecht <susanne@2ndQuadrant.com>
Cc: Ingmar Brouns <swingi@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5926: information schema dtd_identifier for element_types, columns, parameters views inconsistent
Date: Wed, 08 Jun 2011 20:38:00 +0300
Message-ID: <1307554680.9604.0.camel@vanquo.pezone.net> (raw)
In-Reply-To: <9773.1307545767@sss.pgh.pa.us>
References: <201103111318.p2BDITcL034900@wwwmaster.postgresql.org>
<4DDCE812.10401@2ndQuadrant.com>
<9773.1307545767@sss.pgh.pa.us>
On ons, 2011-06-08 at 11:09 -0400, Tom Lane wrote:
> The omission of collection_type_identifier from the docs is clearly a
> doc bug. However, it looks to me like you've identified an error in the
> view definition, not only a doc bug. I think the values of the
> dtd_identifier and collection_type_identifier columns are swapped, ie,
> we ought to be prepending 'a' to the collection_type_identifier not the
> dtd_identifier. 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.
Yes, we need to switch those two columns around and change the
documentation.
> If my analysis is correct, we really ought to try to fix this in time
> for beta2, since there's no way to fix it without a forced initdb.
I can take care of this later today.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: peter_e@gmx.net, tgl@sss.pgh.pa.us, susanne@2ndQuadrant.com, swingi@gmail.com
Subject: Re: BUG #5926: information schema dtd_identifier for element_types, columns, parameters views inconsistent
In-Reply-To: <1307554680.9604.0.camel@vanquo.pezone.net>
References: <201103111318.p2BDITcL034900@wwwmaster.postgresql.org> <4DDCE812.10401@2ndQuadrant.com> <9773.1307545767@sss.pgh.pa.us> <1307554680.9604.0.camel@vanquo.pezone.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox