From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Oliver Jowett <oliver(at)opencloud(dot)com> |
Cc: | Maciek Sakrejda <msakrejda(at)truviso(dot)com>, Filip Rembiałkowski <filip(dot)rembialkowski(at)gmail(dot)com>, Gianvito Pio <pio(dot)gianvito(at)gmail(dot)com>, pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Get a table name |
Date: | 2009-12-28 01:38:01 |
Message-ID: | 20647.1261964281@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Oliver Jowett <oliver(at)opencloud(dot)com> writes:
> Maciek Sakrejda wrote:
>> No idea whether JDBC exposes this or whether the server actually sends
>> the correct oids, or if this is just part of the protocol as a
>> future-proofing attempt.
> The driver exposes this via PGResultSetMetadata.getBaseTableName(), and
> I believe the server does send useful data here.
For the record, my recollection is that that part of the protocol was
put in specifically at the request of the JDBC hackers.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | dmp | 2009-12-28 01:42:47 | Re: Get a table name |
Previous Message | Oliver Jowett | 2009-12-28 01:31:36 | Re: Get a table name |