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