Ticket #1813 (closed defect: fixed)
geometry_columns / geography_column table fails to take into account user permissions to table
| Reported by: | chander | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.1 |
| Component: | postgis | Version: | 2.0.x |
| Keywords: | Cc: |
Description
The current geometry_columns table often lists tables that might not exist for a user (or might not be visible to them) because it fails to take into account the users current search path.
I believe the SQL code for the view should have the following appended to it:
and pg_catalog.pg_table_is_visible(c.oid)
This would result in spatial_ref_sys only displaying information for tables that exist in the current search_path.
Change History
Note: See
TracTickets for help on using
tickets.
