I'm using pg_repack extension to perform full vacuum on my database tables. Till now , I was using postgres-11. Now, I have upgraded it to postgres-12.4. After upgrading when I started doing full vacuum again- I got below error:
ERROR: pg_repack failed with error: ERROR: column "relhasoids" does not exist
Here are in detail:
pg_repack -U postgres --no-order --no-kill-backend --table channatest shiwangini
ERROR: pg_repack failed with error: ERROR: column "relhasoids" does not exist
LINE 19: CASE WHEN relhasoids
^
QUERY:
SELECT array_to_string(array_agg(param), ', ')
FROM (
-- table storage parameter
SELECT unnest(reloptions) as param
FROM pg_
How can I avoid this problem in postgres -12 version? I have tried with installing pg_repack12 already and pg_repack version 1.4.5 only installed on my machine which has support for postgres -12. Still the same error.
/usr/pgsql-12/bin/pg_repack --version
pg_repack 1.4.5