From 210c2e37122c7d4dc43cc3536a6817c9a7ee60b0 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Fri, 7 Jan 2005 12:00:51 +0000 Subject: [PATCH] make LWGEOM_{to,from}_bytea available to all pgsql versions git-svn-id: http://svn.osgeo.org/postgis/trunk@1251 b70326c6-7e19-0410-871a-916f4a2858ee --- lwgeom/lwgeom_inout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lwgeom/lwgeom_inout.c b/lwgeom/lwgeom_inout.c index 420238483..c60e03f05 100644 --- a/lwgeom/lwgeom_inout.c +++ b/lwgeom/lwgeom_inout.c @@ -516,6 +516,8 @@ Datum LWGEOM_send(PG_FUNCTION_ARGS) PG_RETURN_POINTER(result); } +#endif // USE_VERSION > 73 + PG_FUNCTION_INFO_V1(LWGEOM_to_bytea); Datum LWGEOM_to_bytea(PG_FUNCTION_ARGS) { @@ -546,4 +548,3 @@ Datum LWGEOM_from_bytea(PG_FUNCTION_ARGS) PG_RETURN_POINTER(result); } -#endif // USE_VERSION > 73 -- 2.40.0