-
Notifications
You must be signed in to change notification settings - Fork 911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pg_restore: error: could not execute query: ERROR: permission denied for table hypertable #3628
Comments
It seems like you revoked permissions from postgres for the internal catalog tables, but pg_upgrade runs as postgres and fails because it lacks permissions. |
Hi all! $ /usr/pgsql-13/bin/pg_upgrade --link --retain --old-bindir=/usr/pgsql-11/bin/ --new-bindir=/usr/pgsql-13/bin/ --old-datadir=/var/lib/pgsql/11/data/ --new-datadir=/var/lib/pgsql/13/data/ Performing Consistency ChecksChecking cluster versions ok If pg_upgrade fails after this point, you must re-initdb the Performing UpgradeAnalyzing all rows in the new cluster ok Consult the last few lines of "pg_upgrade_dump_7116928.log" for In pg_upgrade_dump_7116928.log : : $ cat /etc/redhat-release Please tell me how to fix the problem |
When upgrading from postgres 11.13 to 13.4 using the following commands:
In that Log I get:
I've been playing around with the permissions and can't quite seem to figure out why it won't upgrade. I did upgrade from a much older version of timescaledb, so something got screwed up.
The text was updated successfully, but these errors were encountered: