Skip to content

Drop schema cascade? #621

Closed Answered by bersace
seanzechman asked this question in Q&A
Apr 9, 2024 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

ldap2pg will reassign the schema to database owner before dropping user. To do this, ldap2pg loops on every databases returned by databases_query. If my_database is not returned by databases_query, ldap2pg won't reassign schemas in this database. Thus Postgres will refuse to drop role.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@seanzechman
Comment options

@seanzechman
Comment options

@bersace
Comment options

Answer selected by seanzechman
@seanzechman
Comment options

Comment options

You must be logged in to vote
1 reply
@bersace
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #606 on May 02, 2024 12:59.