BUG #16893: JDBC Error
The following bug has been logged on the website:
Bug reference: 16893
Logged by: Fcant
Email address: fcscanf@outlook.com
PostgreSQL version: 13.1
Operating system: CentOS
Description:
I did a pagination query using PSQL’s JDBC to query the total number of
records using select count (*) , but the JDBC driver is ERROR: Error:
argument of OFFSET must B E Type bigint, not type character varying.
However, the offset keyword is not actually used in the select count (*)
statement.
Can you provide me with example code which produces this error ?
Dave Cramer
www.postgres.rocks
On Wed, 24 Feb 2021 at 03:48, PG Bug reporting form <noreply@postgresql.org>
wrote:
Show quoted text
The following bug has been logged on the website:
Bug reference: 16893
Logged by: Fcant
Email address: fcscanf@outlook.com
PostgreSQL version: 13.1
Operating system: CentOS
Description:I did a pagination query using PSQL’s JDBC to query the total number of
records using select count (*) , but the JDBC driver is ERROR: Error:
argument of OFFSET must B E Type bigint, not type character varying.
However, the offset keyword is not actually used in the select count (*)
statement.