Ticket #120 (closed defect: wontfix)
PostGIS ungracefully handles structural problems in a database
|Reported by:||mloskot||Owned by:|
Robert Bray reported he got error like this one, in the fdopostgis log file:
ERROR: LWGEOM_estimated_extent: permission denied for relation delme
After some tests, he followed up with following post:
Ah, I think I found the problem. The delme table has an entry in the geometry_columns table for a column named geometry, however that column does not actually exist in the delme table. So the problem appears to be a structural problem in the DB. The provider bombs quite ungracefully on this condition, which is something we might want to look at.
Summarizing, this kind of issues should be investigated and fixed, so an exception is thrown instead of a bomb.