Re: BUG #18495: invalid type mapping for timestamptz from call of: getMetaData and then geColumns on PgConnection. - Mailing list pgsql-bugs

From Erik Wienhold
Subject Re: BUG #18495: invalid type mapping for timestamptz from call of: getMetaData and then geColumns on PgConnection.
Date
Msg-id 50278655-71d7-4ca6-b85e-ca7434809c57@ewie.name
Whole thread Raw
In response to BUG #18495: invalid type mapping for timestamptz from call of: getMetaData and then geColumns on PgConnection.  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
On 2024-06-05 15:21 +0200, PG Bug reporting form wrote:
> I can see a non correct type mapping for timestamptz type. Code snippets
> used in descriptions are pure SQL or (Scala). We use latest JDBC driver
> (version 42.7.3).
> The bug is simple. Instead of Types.TIMESTAMP_WITH_TIMEZONE we obtain value
> of Types.TIMESTAMP in resultset from getMetadata wit consequential call of:
> geColumns.

It's a known issue: https://github.com/pgjdbc/pgjdbc/issues/1766

-- 
Erik



pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #18377: Assert false in "partdesc->nparts >= pinfo->nparts", fileName="execPartition.c", lineNumber=1943
Next
From: Michael Paquier
Date:
Subject: Re: BUG #17947: Combination of replslots pgstat issues causes error/assertion failure