Message-ID: From: "davecramer (@davecramer)" To: "pgjdbc/pgjdbc" Date: Wed, 11 Sep 2024 10:59:01 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3368: fix: Output ? for bytea parameter instead of outputing the contents of the byte array In-Reply-To: References: List-Id: X-GitHub-Author-Login: davecramer X-GitHub-Comment-Id: 2343317314 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3368 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3368#issuecomment-2343317314 Content-Type: text/plain; charset=utf-8 @vlsi so the current code will execute the statement in SimpleQuery mode but any subsequent attempt to execute toString() will fail. One option is to reset the InputStream after using it. Thoughts ?