pgjdbc/pgjdbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
From: vlsi (@vlsi) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: Re: [pgjdbc/pgjdbc] PR #3657: perf: cache composite and simple subqueries
Date: Thu, 12 Jun 2025 09:53:00 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

Please add a test that verifies a case when client uses different bind types for "the same" statement.

For example:

```java
String sql = "select * from inttable where a = ?;select * from inttable where a = ?;select * from inttable where a = ?";
...
ps.setInt(1, 42); ps.setString(2, "43"); ps.setDouble(3, 44.0);
```

The execution plan might depend on the result shape, so we can't easily reuse server-side handles by looking at the SQL alone.

We might be looking at https://github.com/pgjdbc/pgjdbc/issues/345

view thread (16+ 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] PR #3657: perf: cache composite and simple subqueries
  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