Message-ID: From: "rlbdv (@rlbdv)" To: "pgjdbc/pgjdbc" Date: Mon, 11 Aug 2025 20:22:31 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3757: PreparedStatement.toString() fails for bytea parameters with at least 42.7.7 In-Reply-To: References: List-Id: X-GitHub-Author-Login: rlbdv X-GitHub-Comment-Id: 3176778324 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3757 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3757#issuecomment-3176778324 Content-Type: text/plain; charset=utf-8 To clarify, what I meant was, was this intended to be a supported way to store a bytea value: ``` obj = PGObject(); obj.setType("bytea"); obj.setValue("\\xabcdef"); prepared_statement.setObject(i, obj); ``` (Previously it would "work", but now it (eventually) provokes the exception.)