Create schema of same name when user is created
See original GitHub issueIt common to have a schema that the same name as a user in a database. By default, postgres includes such a schema in its search_path
automatically, see “section 5.8.3” in the docs.
It would be ace to have an option in ldap2pg that would create a schema of the same name when a user is newly created.
Thanks
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
CREATE SCHEMA (Transact-SQL) - Microsoft Learn
The created database principal and schema will have the same name as the name that user used when connecting to SQL Server (the...
Read more >SQL Server CREATE SCHEMA Statement By Examples
SQL Server provides us with some pre-defined schemas which have the same names as the built-in database users and roles, for example: dbo...
Read more >CREATE SCHEMA statement
The CREATE SCHEMA statement is used to create a schema. A schema name cannot exceed 128 characters. Schema names must be unique within...
Read more >SQL CREATE/ALTER/DROP SCHEMA - w3resource
Database Schema ; schema_name, The name of a schema to be created. If this is omitted, the user_name is used as the schema...
Read more >Documentation: 15: CREATE SCHEMA - PostgreSQL
schema_name. The name of a schema to be created. · user_name. The role name of the user who will own the new schema....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bersace, is it still considered ? This looks quite interesting. Would definitely be useful for me !
I would like to see both. Some queries might be useful on a global level, others just for specific roles.