From 9f89926ed2b760388c704ec2b438ee3e9227f80a Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Fri, 16 Aug 2019 21:26:05 +0000 Subject: [PATCH] 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 --- postgis/postgis_before_upgrade.sql | 8 ++++++++ 1 file changed, 8 insertions(+) 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) -- 2.40.0