[postgis-tickets] [SCM] PostGIS branch master updated. 694937a19831c83bc947b5a89e519b8453be819c

git at osgeo.org git at osgeo.org
Tue Jan 7 02:39:11 PST 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  694937a19831c83bc947b5a89e519b8453be819c (commit)
      from  6386fd673d6e478f9cbb052110ab5813d22f6032 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 694937a19831c83bc947b5a89e519b8453be819c
Author: Raúl Marín <git at rmr.ninja>
Date:   Fri Jan 3 18:35:22 2020 +0100

    Drop LWGEOM_asGeoJson_old
    
    As far as I can see, it was never used
    
    Closes https://github.com/postgis/postgis/pull/529/

diff --git a/postgis/lwgeom_export.c b/postgis/lwgeom_export.c
index ee09c62..f9ee8e5 100644
--- a/postgis/lwgeom_export.c
+++ b/postgis/lwgeom_export.c
@@ -316,31 +316,6 @@ Datum LWGEOM_asGML(PG_FUNCTION_ARGS)
 }
 
 
-
-
-/**
- * Encode Feature in GeoJson (Old C Signature)
- * ST_AsGeoJSON(version, geom, precision, options)
- * why was this written with a version param when there
- * is only one version?
- */
-PG_FUNCTION_INFO_V1(LWGEOM_asGeoJson_old);
-Datum LWGEOM_asGeoJson_old(PG_FUNCTION_ARGS)
-{
-	switch( PG_NARGS() )
-	{
-	case 2:
-		return DirectFunctionCall1(LWGEOM_asGeoJson, PG_GETARG_DATUM(1));
-	case 3:
-		return DirectFunctionCall2(LWGEOM_asGeoJson, PG_GETARG_DATUM(1), PG_GETARG_DATUM(2));
-	case 4:
-		return DirectFunctionCall3(LWGEOM_asGeoJson, PG_GETARG_DATUM(1), PG_GETARG_DATUM(2), PG_GETARG_DATUM(3));
-	default:
-		elog(ERROR, "bad call in %s", __func__);
-	}
-	PG_RETURN_NULL();
-}
-
 /**
  * Encode Feature in GeoJson
  */

-----------------------------------------------------------------------

Summary of changes:
 postgis/lwgeom_export.c | 25 -------------------------
 1 file changed, 25 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list