Re: ResultSetMetaData.getSchemaName always return an empty string - Mailing list pgsql-jdbc

From Eilon Reshef
Subject Re: ResultSetMetaData.getSchemaName always return an empty string
Date
Msg-id 260c0f8b4ecb2dfec6427f186a137c63@mail.gmail.com
Whole thread Raw
In response to Re: ResultSetMetaData.getSchemaName always return an empty string  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc

Thanks for the quick reply!

 

It’d be great if this can be added. Our current plan is to cast the ResultSetMetaData to a Pg… one and use the getBaseSchemaName, which is obviously less than ideal. I hope that the method (getSchemaName) isn’t used by clients too often – probably not used directly in clients’ code (since it returns an empty string) but might be used by some frameworks…?

 

Thanks again.

 

From: davecramer@gmail.com [mailto:davecramer@gmail.com] On Behalf Of Dave Cramer
Sent: Friday, May 13, 2016 4:11 PM
To: Eilon Reshef <eilon.reshef@gong.io>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: [JDBC] ResultSetMetaData.getSchemaName always return an empty string

 

For some reason I thought this had been addressed. One issue is that it will be a performance regression as it has to fetch the metadata


 

On 13 May 2016 at 02:08, Eilon Reshef <eilon.reshef@gong.io> wrote:

But, it seems that a valid implementation exists as getBaseSchemaName (not part of the JDBC interface) – is there a reason why the implementation is not carried over to the standard API call, or is this considered a bug?

 

Thanks

Eilon

 

 

pgsql-jdbc by date:

Previous
From: Eilon Reshef
Date:
Subject: Re: ResultSetMetaData.getSchemaName always return an empty string
Next
From: Thomas Kellerer
Date:
Subject: JDBC driver and Postgres 9.6beta