mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
Databasus read-only user cannot be added with Postgres 15+ without public schema #208
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @johndevs on 1/18/2026
I cannot add a PG database to Databasus because the database does not have a public schema.
When you try to add the database, you will see:
In the postgres server logs you will see:
The default fallback behavior of Databasus here will report the error.
Creating a database read-only user should not depend of if the database has a public schema or not.
In my case I have a database with multiple schemas with multiple users owning those schemas and no public schema.
I would suggest to add to the dialog where the databasus user is created an option to provide which schemas the user will have access to. By default it can still be only the public schema but please allow users to change it.