We created several views postgresql 12 (not materialized views) which include nested queries and multiple joins.
we are facing a strange behavior, are noticing that some views are disappearing from the view list and others are remaining. is this related to Database configuration.
Are we missing some configuration?
2
Answers
We didn't drop the tables directly, however since we are using ESRI ArcGIS Desktop to manage our GIS data which is hosted on a PostgreSQL database. we identified the cause of the issue after the admin replaced all the tables in the schema. and ArcGIS Desktop dropped the tables and deleting the views without informing the admin.
I can only guess, but the one way that views can disappear is if you
DROP
them. You’d probably remember if you dropped them directly, but you can drop them indirectly withIf you do that, all views and materialized views that depend on that table are dropped as well.