Message-ID: From: "pwagland (@pwagland)" To: "pgjdbc/pgjdbc" Date: Tue, 14 Jun 2022 07:20:32 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #2525: fix: support queries with up to 65535 (inclusive) parameters In-Reply-To: References: List-Id: X-GitHub-Author-Login: pwagland X-GitHub-Comment-Id: 896462888 X-GitHub-Comment-Type: review_comment X-GitHub-Commit: 6c0c5da4075960e1dffa91480fb8b3a4932f8e1b X-GitHub-Issue: 2525 X-GitHub-Line: 102 X-GitHub-Path: pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: review_comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/2525#discussion_r896462888 Content-Type: text/plain; charset=utf-8 (on pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java:102) This _should_ have been: ```java GT.tr("PreparedStatement can have at most {0} parameters. Please consider using arrays, or splitting the query in several ones, or using COPY. Given query has {1} parameters", ```