35 #include "utils/builtins.h"
36 #include "../postgis_config.h"
37 #include "lwgeom_pg.h"
39 #define POSTGIS_DEPRECATE(version, funcname) \
40 Datum funcname(PG_FUNCTION_ARGS); \
41 PG_FUNCTION_INFO_V1(funcname); \
42 Datum funcname(PG_FUNCTION_ARGS) \
45 errcode(ERRCODE_FEATURE_NOT_SUPPORTED), \
46 errmsg("A stored procedure tried to use deprecated C function '%s'", \
48 errdetail("Library function '%s' was deprecated in PostGIS %s", \
50 errhint("Consider running: SELECT postgis_extensions_upgrade()") \
52 PG_RETURN_POINTER(NULL); \
Datum postgis_svn_version(PG_FUNCTION_ARGS)
Datum LWGEOM_mindistance3d(PG_FUNCTION_ARGS)
static double distance(double x1, double y1, double x2, double y2)
Datum geos_geomunion(PG_FUNCTION_ARGS)
Datum geos_intersects(PG_FUNCTION_ARGS)
Datum geos_difference(PG_FUNCTION_ARGS)
Datum geos_intersection(PG_FUNCTION_ARGS)
Datum LWGEOM_mindistance2d(PG_FUNCTION_ARGS)
Datum LWGEOM_area_polygon(PG_FUNCTION_ARGS)
#define POSTGIS_DEPRECATE(version, funcname)