pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ken Johanson <pg-user@kensystem.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: Support for DatabaseMetadata: getCatalogName, getTableName,
Date: Mon, 08 Jan 2007 10:15:34 -0700
Message-ID: <45A27C36.7060805@kensystem.com> (raw)
In-Reply-To: <Pine.BSO.4.64.0701041724580.18682@leary2.csoft.net>
References: <4594B16C.5010609@kensystem.com>
	<3936D281-E235-4FB3-889E-08981ABB0954@fastcrypt.com>
	<Pine.BSO.4.64.0701041139350.18398@leary2.csoft.net>
	<459D3487.6080202@kensystem.com>
	<Pine.BSO.4.64.0701041225110.24201@leary2.csoft.net>
	<459D3F3E.5040006@kensystem.com>
	<Pine.BSO.4.64.0701041324480.24201@leary2.csoft.net>
	<459D6CEC.9040505@kensystem.com>
	<Pine.BSO.4.64.0701041609540.20842@leary2.csoft.net>
	<459D7D66.6010202@kensystem.com>
	<Pine.BSO.4.64.0701041724580.18682@leary2.csoft.net>

Kris Jurka wrote:
> 
> What we get now in the V3 protocol:
> 
> 1) the column name which may be an alias but we don't know if it came 
> from an alias or not, consider SELECT a AS a.  If we get "a" we don't 
> know if it was aliased or not.
> 
> 2) The underlying table's oid which can be used to lookup it's name and 
> schema.
> 
> 3) The underlying column's number in the table which can be used to 
> lookup its name.
> 
> No information on a table alias is available.
> 
>> If so, does anyone know off hand if V3 is somehow extensible; i.e can 
>> we add in metadata without breaking apps or major version?
>>
> 
> No the RowDescription message is fixed:
> 
> http://www.postgresql.org/docs/current/static/protocol-message-formats.html
> 


Kris, do you know roughly when a v4 protocol could be on the radar?.. is 
it months out (or years?), or has it even been discussed yet? I'm trying 
to decide if I should vote-in on having this info added into that 
version, if there is a discussion/planning thread somewhere...

Thx, ken





view thread (19+ messages)  latest in thread

Message-ID: <45A27C36.7060805@kensystem.com>
Permalink:  ../45A27C36.7060805@kensystem.com/
Also on:    postgresql.org/message-id/45A27C36.7060805@kensystem.com

 · 

reply

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-jdbc@postgresql.org
  Cc: pg-user@kensystem.com, books@ejurka.com, tgl@sss.pgh.pa.us
  Subject: Re: Support for DatabaseMetadata: getCatalogName, getTableName,
  In-Reply-To: <45A27C36.7060805@kensystem.com>
  References: <4594B16C.5010609@kensystem.com> <3936D281-E235-4FB3-889E-08981ABB0954@fastcrypt.com> <Pine.BSO.4.64.0701041139350.18398@leary2.csoft.net> <459D3487.6080202@kensystem.com> <Pine.BSO.4.64.0701041225110.24201@leary2.csoft.net> <459D3F3E.5040006@kensystem.com> <Pine.BSO.4.64.0701041324480.24201@leary2.csoft.net> <459D6CEC.9040505@kensystem.com> <Pine.BSO.4.64.0701041609540.20842@leary2.csoft.net> <459D7D66.6010202@kensystem.com> <Pine.BSO.4.64.0701041724580.18682@leary2.csoft.net> <45A27C36.7060805@kensystem.com>

* 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