'How to fix " ERROR: column t.relhasoids does not exist" in postgreSQL 12?

I am using the rails platform. After creating the DB, I had faced this issue. Does anyone have the solution to this issue?



Solution 1:[1]

I was facing a similar issue while trying to describe my table(\d mytable) in the Postgres terminal. The version of the RDS server was 12.5v and psql version on the instance/machine was 10.16v. Upgraded the version on the machine by following this link

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 tapabrata dasgupta