From: Sandro Santilli Date: Fri, 7 Jan 2005 12:00:51 +0000 (+0000) Subject: make LWGEOM_{to,from}_bytea available to all pgsql versions X-Git-Tag: pgis_1_0_0RC1~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=210c2e37122c7d4dc43cc3536a6817c9a7ee60b0;p=postgis 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 --- 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