pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ResultSetMetaData.getSchemaName always return an empty string
3+ messages / 2 participants
[nested] [flat]

* ResultSetMetaData.getSchemaName always return an empty string
@ 2016-05-13 06:08 Eilon Reshef <eilon.reshef@gong.io>
  2016-05-13 13:11 ` Re: ResultSetMetaData.getSchemaName always return an empty string Dave Cramer <pg@fastcrypt.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Eilon Reshef @ 2016-05-13 06:08 UTC (permalink / raw)
  To: pgsql-jdbc

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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: ResultSetMetaData.getSchemaName always return an empty string
  2016-05-13 06:08 ResultSetMetaData.getSchemaName always return an empty string Eilon Reshef <eilon.reshef@gong.io>
@ 2016-05-13 13:11 ` Dave Cramer <pg@fastcrypt.com>
  2016-05-13 19:12   ` Re: ResultSetMetaData.getSchemaName always return an empty string Eilon Reshef <eilon.reshef@gong.io>
  0 siblings, 1 reply; 3+ messages in thread

From: Dave Cramer @ 2016-05-13 13:11 UTC (permalink / raw)
  To: Eilon Reshef <eilon.reshef@gong.io>; +Cc: pgsql-jdbc

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

Dave Cramer

davec@postgresintl.com
www.postgresintl.com

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
>
>
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: ResultSetMetaData.getSchemaName always return an empty string
  2016-05-13 06:08 ResultSetMetaData.getSchemaName always return an empty string Eilon Reshef <eilon.reshef@gong.io>
  2016-05-13 13:11 ` Re: ResultSetMetaData.getSchemaName always return an empty string Dave Cramer <pg@fastcrypt.com>
@ 2016-05-13 19:12   ` Eilon Reshef <eilon.reshef@gong.io>
  0 siblings, 0 replies; 3+ messages in thread

From: Eilon Reshef @ 2016-05-13 19:12 UTC (permalink / raw)
  To: Dave Cramer <pg@fastcrypt.com>; +Cc: 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


Dave Cramer

davec@postgresintl.com

www.postgresintl.com



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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2016-05-13 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-05-13 06:08 ResultSetMetaData.getSchemaName always return an empty string Eilon Reshef <eilon.reshef@gong.io>
2016-05-13 13:11 ` Dave Cramer <pg@fastcrypt.com>
2016-05-13 19:12   ` Eilon Reshef <eilon.reshef@gong.io>

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