Opened 13 years ago
Closed 13 years ago
#1325 closed defect (fixed)
topology_upgrade_20_minor.sql is harmful
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | high | Milestone: | PostGIS 2.0.0 |
Component: | topology | Version: | master |
Keywords: | Cc: |
Description
Right after sourcing topology_upgrade_20_minor.sql, my topology.CreateTopology() doesn't work anymore.
See this session:
strk=# select droptopology('tt'); Topology 'tt' dropped strk=# select createtopology('tt'); ERROR: schema "tt" does not exist
Sourcing topology.sql fixes things again:
strk=# select droptopology('tt'); Topology 'tt' dropped strk=# select createtopology('tt'); 2086
Sourcing topology_upgrade_20_minor.sql breaks again as in the first example.
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in r8239 by changing topology.sql so to be less confusing to sed.
Note:
See TracTickets
for help on using tickets.
The upgrade script generator is stripping a line:
Becomes:
No wonder it fails…