Ticket #918 (closed defect: fixed)
two bugs in Populate_Geometry_Columns(oid)
| Reported by: | nicklas | Owned by: | nicklas |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
From report by Anders Söderman that Populate_Geomtry_columns gives primary key violation in geometry_columns table
Populate_geoemtry_columns(oid) does not delete old entries in geometry_columns if the tabel or schema name includes characters that makes need of double quoting.
It is working when there is no need for double quoting because quote_ident don't quote when not needed.
Second bug is that that entries for views is not deleted at all before the function tries to add a new one which also causes a primary key violation error.
Change History
Note: See
TracTickets for help on using
tickets.
