-
Hello, A few weeks ago, I have reported that there was an error with the pg_partman extension when using an account that is not super admin. A new commit fix this issue: #4104 I have build a new image with the two files modified, and now I have a new error:
RDS Postgres 16.4 Is there a way to run db-migrator without a super admin user on the postgres db ? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Hi @rleffd 👋 It looks like the pg_partman extension hasn't been created yet. You still need to do that with a user that has privileges to do so, like you were trying to do in #4103 (comment). Once the extension is ready, you should be able to proceed with the migrations as we won't try to create it again if it already exists. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
The migration file referenced below creates the https://github.com/artifacthub/hub/blob/master/database/migrations/schema/034_partman.sql Hope this helps 🙂 |
Beta Was this translation helpful? Give feedback.
-
Hello. i'will test that today. I can't use a super user to run artifacthub. The password change every week and it is not a good pratice at all. I'll be back soon to give a feedback. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I think you need to grant some extra permissions. In the setup section of the pgpartman readme file you'll find the privileges required when not using a superuser. The db user used for Artifact Hub will probably need those.