Opened 8 years ago

Closed 8 years ago

#2561 closed task (worksforme)

Make sure postgis_full_version() detects mis-sync between core and raster

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 2.1.2
Component: build/upgrade/install Version: 2.1.x
Keywords: Cc:

Description

After manually fixing a problem wit postgis (core) upgrade, I was surprised that "postgis_full_version()" did not complain about scripts/lib versioning mismatch while still telling me that RASTER was activated. I haven't checked, but was thinking we should carefully check if you'd get any warning when RASTER is consistently in one version (both lib and scripts) and CORE is consistently in another version (both lib and scripts).

I'd think we should be nice and tell the user about that, but I suspect that's not the case, so this ticket is a task ticket to verify.

Change History (1)

comment:1 Changed 8 years ago by strk

Resolution: worksforme
Status: newclosed

It looks like both scripts and lib version of raster are checked against core script version:

Lib version: http://trac.osgeo.org/postgis/browser/tags/2.1.1/postgis/postgis.sql.in#L2646 Scripts ver: http://trac.osgeo.org/postgis/browser/tags/2.1.1/postgis/postgis.sql.in#L2651

Note: See TracTickets for help on using tickets.