[postgis-devel] GeoJson patch
olivier.courtin at camptocamp.com
Mon Jul 14 03:09:10 PDT 2008
On Jul 14, 2008, at 10:42 AM, Mark Cave-Ayland wrote:
> Which version of PostgreSQL are you testing against? Since
> ST_AsGeoJSON() has been included,
> it always fails the regression tests under PostgreSQL 8.3 with the
> following result:
Yes, that was a mess !
The previous applied GeoJson patch (r2842), fix this behaviour.
> So in other words, we could really with a workaround for the
> different message text.
Yes, i've tryied with the 'terse' option, but even with short
messages, text change
upon PostgreSQL versions (fews tests with 8.1, 8.2 and 8.3).
As this unit test is not really meaningfull (prototype function check
is PostgreSQL job, not the
PostGIS function one), i've just decided to remove it.
An alternative would be to use tests cases upon PostgreSQL version in
(quite similar than JTS checks for curves units tests)
More information about the postgis-devel