Re: Get a table name - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Get a table name
Date
Msg-id 20647.1261964281@sss.pgh.pa.us
Whole thread Raw
In response to Re: Get a table name  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
Oliver Jowett <oliver@opencloud.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

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Get a table name
Next
From: dmp
Date:
Subject: Re: Get a table name