Ticket #333 (closed defect: fixed)
VACUUM in spatial_ref_sys.sql throws error
| Reported by: | kneufeld | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 1.5.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
Loading the spatial_ref_sys.sql file manually in PgAdmin? III throws the error:
ERROR: VACUUM cannot be executed from a function or multi-command string ********** Error ********** ERROR: VACUUM cannot be executed from a function or multi-command string SQL state: 25001
I recommend the two offending lines (1719 and 15142)
VACUUM ANALYZE spatial_ref_sys;
be replaced with
ANALYZE spatial_ref_sys;
VACUUM is not needed anyway since no DELETEs or UPDATEs have taken place, only INSERTs - there's no need to reclaim space.
Change History
Note: See
TracTickets for help on using
tickets.
