35 #include "utils/builtins.h"
36 #include "../postgis_config.h"
38 #define POSTGIS_DEPRECATE(version, funcname) \
39 Datum funcname(PG_FUNCTION_ARGS); \
40 PG_FUNCTION_INFO_V1(funcname); \
41 Datum funcname(PG_FUNCTION_ARGS) \
44 errcode(ERRCODE_FEATURE_NOT_SUPPORTED), \
45 errmsg("A stored procedure tried to use deprecated C function '%s'", \
47 errdetail("Library function '%s' was deprecated in PostGIS %s", \
49 errhint("Consider running: SELECT postgis_extensions_upgrade()") \
51 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)