Skip to content
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

Structure with value list calls role "postgres" #443

Open
cymed opened this issue Oct 4, 2024 · 3 comments
Open

Structure with value list calls role "postgres" #443

cymed opened this issue Oct 4, 2024 · 3 comments

Comments

@cymed
Copy link
Contributor

cymed commented Oct 4, 2024

Describe the bug
The plain sql "tww_dev_structure_with_value_lists.sql" calls role "postgres" multiple times, i,e,

ALTER DEFAULT PRIVILEGES FOR ROLE postgres IN SCHEMA tww_app GRANT ALL ON SEQUENCES TO tww_user;

Some hosted database instances have no access to the role "postgres" (i.e. Azure)

Expected behavior
no mentioning postgres

@ponceta
Copy link
Member

ponceta commented Oct 4, 2024

What is the db_owner user in Azure?

@ponceta
Copy link
Member

ponceta commented Oct 4, 2024

The database user postgres is a standard for all Linux server on the database installation. It has usually an only-local access priviledge.

@cymed
Copy link
Contributor Author

cymed commented Oct 4, 2024

"In Azure Postgres , we can't CREATE SUPERUSERS . Since this is a Managed Service , Only Microsoft is part of SUPERUSERS Group

The Azure Database for PostgreSQL server is created with 3 default roles defined
azure_pg_admin
azure_superuser
your server admin user
"
taken from https://learn.microsoft.com/en-us/answers/questions/120659/create-superuser-in-paas-offering-of-azure-databas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants