Bug reference: 17060 Logged by: dhanabakeeswari v Email address: dhanabakeeswari15@gmail.com PostgreSQL version: 11.12 Operating system: Red Hat Enterprise Linux Server (7.8 version) Description:
Migrated the data from the oracle database to the PostgreSQL database. While accessing the query I am facing "org.postgresql.util.PSQLException: ERROR: column "rownum" does not exist". Without query changes how to resolve this.
This is (much likely) not a bug. ROWNUM is a pseudo column that is specific in Oracle SQL. You can't solve this without modifying your query (eg using ROW_NUMBER() window function).