pgjdbc/pgjdbc GitHub issues and pull requests (mirror)
help / color / mirror / Atom feedFrom: rtrier (@rtrier) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: Re: [pgjdbc/pgjdbc] issue #3562: After insert with PreparedStatement into table with complex types querying leads to resultset with incorrect type
Date: Wed, 12 Mar 2025 17:05:25 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
I struggle now for some days. I not able to find a simple reproducer, a reduced version. Kind of one statement, second statement and .. voila. But without success.
That's why I started to debug. Looks like the problem is in the class org.postgresql.jdbc.TypeInfoCache. It has sth. to do with overwriting in the HashMaps of the TypeInfoClass if an type is used as an Array and as well as not as an Array.
I added a lot Log-Statements to TypeInfoClass. But is hard for me to follow, what triggers the Type-Queries to the database.
I could export the DataBase and checkin my Project (github) and explain how to reproduce the error.
@davecramer what do you think, or can we chat
view thread (10+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: github://pgjdbc/pgjdbc
Cc: [email protected], [email protected]
Subject: Re: [pgjdbc/pgjdbc] issue #3562: After insert with PreparedStatement into table with complex types querying leads to resultset with incorrect type
In-Reply-To: <<[email protected]>>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox