pgjdbc/pgjdbc GitHub issues and pull requests (mirror)
help / color / mirror / Atom feedFrom: vlsi (@vlsi) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: Re: [pgjdbc/pgjdbc] issue #3757: PreparedStatement.toString() fails for bytea parameters with at least 42.7.7
Date: Mon, 11 Aug 2025 18:28:13 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Here's my attempt to optimize it via ChatGPT:
https://chatgpt.com/share/689a3548-60f4-800f-bab8-6550415687c4
That was "5 thinking" model, and I still had to ask it multiple times to remove allocations.
At the same time, it was able to apply a hack from Netty when I mentioned the relevant netty PR. I wish it was able to know that trick on its own though.
Claude Opus 4.1 generates pretty much the same thing (it does care to suggest an implementation to validate and an implementation to parse the hex): https://claude.ai/share/92589422-3a8f-4516-beee-c830591e02cc
I haven't benchmarked the implementations though.
view thread (17+ 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 #3757: PreparedStatement.toString() fails for bytea parameters with at least 42.7.7
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