From: Paul Ramsey Date: Fri, 16 Aug 2019 21:26:05 +0000 (+0000) Subject: Try and harmonize function parameter names for ST_AsGEoJSON(record) X-Git-Tag: 3.0.0beta1~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f89926ed2b760388c704ec2b438ee3e9227f80a;p=postgis Try and harmonize function parameter names for ST_AsGEoJSON(record) References #4483 git-svn-id: http://svn.osgeo.org/postgis/trunk@17725 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/postgis_before_upgrade.sql b/postgis/postgis_before_upgrade.sql index 7deb9a50a..fc5905856 100644 --- a/postgis/postgis_before_upgrade.sql +++ b/postgis/postgis_before_upgrade.sql @@ -144,6 +144,14 @@ SELECT _postgis_drop_function_if_needed 'geom1 geometry, geom2 geometry' ); +-- FUNCTION ST_AsGeoJson changed argument names +-- (pretty_print => pretty_bool) in 3.0alpha4 +SELECT _postgis_drop_function_if_needed + ( + '@extschema@', + 'ST_AsGeoJson', + 'r record, geom_column text, maxdecimaldigits int4, pretty_print bool' + ); -- FUNCTION ST_LineCrossingDirection changed argument names in 3.0 -- Was (geom1 geometry, geom2 geometry) and now (line1 geometry, line2 geometry)