[postgis-tickets] r14881 - Set nargs correctly in PGISDirectFunctionCall2
Daniel Baston
dbaston at gmail.com
Tue May 3 17:34:37 PDT 2016
Author: dbaston
Date: 2016-05-03 17:34:37 -0700 (Tue, 03 May 2016)
New Revision: 14881
Modified:
trunk/postgis/lwgeom_accum.c
Log:
Set nargs correctly in PGISDirectFunctionCall2
Modified: trunk/postgis/lwgeom_accum.c
===================================================================
--- trunk/postgis/lwgeom_accum.c 2016-05-04 00:20:57 UTC (rev 14880)
+++ trunk/postgis/lwgeom_accum.c 2016-05-04 00:34:37 UTC (rev 14881)
@@ -416,10 +416,10 @@
#if POSTGIS_PGSQL_VERSION > 90
- InitFunctionCallInfoData(fcinfo, NULL, 1, InvalidOid, NULL, NULL);
+ InitFunctionCallInfoData(fcinfo, NULL, 2, InvalidOid, NULL, NULL);
#else
- InitFunctionCallInfoData(fcinfo, NULL, 1, NULL, NULL);
+ InitFunctionCallInfoData(fcinfo, NULL, 2, NULL, NULL);
#endif
fcinfo.arg[0] = arg1;
More information about the postgis-tickets
mailing list