Open pajot opened 1 year ago
I can not reproduce this. On my test system, I added a new name into schema_whitelist
without creating it in postgres.
mirror command runs fine.
I think I need a better example under what conditions the problem occurs.
When mirroring schemas that have been imported into the database using postgresql tools (e.g. psql), the schema must be entered into the whitelist. (This operation is necessary to make imported data visible on the front end.)
If the whitelist contains schemas that do not exist in the database,
python manage.py mirror
will throw cascading exceptions:Instead, the operation should fail gracefully. For example, non-existent schemas could be ignored, or the operation could fail with a message indicating which schemas need to be checked.