Note in soft upgrade docs that legacy.sql needs to be rerun for each minor upgrade
As noted by someone on IRC, if you upgrade PostGIS from 2.something to 2.1 and forget to rerun the legacy.sql script (only applies if you ran it in first place),
You may get:
Thing is, spatial queries still report this:
ERROR: could not access file "$libdir/postgis-2.0": No such file or directory
I've also seen the dreaded backend error caused by two versions of PostGIS running in same db with same set of GUCs fighting for each other. The other error (can't remember what it is), happens if postgis-2.0 is still present (then you have the unpleasant situation of 2 instances of PostGIS running)
I'm hoping in 2.2 that we can get rid of all references to $libdir in the legacy scripts, but fair there may be a couple we can't get rid of.
Change History
(14)
Description: |
modified (diff)
|
Description: |
modified (diff)
|
Milestone: |
PostGIS 2.1.5 → PostGIS 2.1.6
|
Milestone: |
PostGIS 2.1.6 → PostGIS 2.1.7
|
Milestone: |
PostGIS 2.1.7 → PostGIS 2.1.8
|
Priority: |
medium → low
|
Milestone: |
PostGIS 2.1.8 → PostGIS 2.2.0
|
Milestone: |
PostGIS 2.2.0 → PostGIS 2.1.9
|
Milestone: |
PostGIS 2.1.9 → PostGIS 2.2.6
|
Milestone: |
PostGIS 2.2.6 → PostGIS 2.4.1
|
Milestone: |
PostGIS 2.4.1 → PostGIS 2.4.2
|
Milestone: |
PostGIS 2.4.2 → PostGIS 2.4.3
|
Milestone: |
PostGIS 2.4.3 → PostGIS 2.4.4
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
this is really something that should be backported once fixed, but too lazy to do for 2.2