summaryrefslogtreecommitdiff
path: root/databases/pointcloud/files/patch-pgsql_pc__access.c
blob: bd9dda2c1e673b6831ae1d277c41cc106bfb1a90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- pgsql/pc_access.c.orig	2015-08-09 08:58:06 UTC
+++ pgsql/pc_access.c
@@ -315,7 +315,7 @@ Datum pointcloud_agg_transfn(PG_FUNCTION
 
 	if (fcinfo->context && IsA(fcinfo->context, AggState))
 	{
-		aggcontext = ((AggState *) fcinfo->context)->aggcontext;
+		aggcontext = ((AggState *) fcinfo->context)->aggcontexts;
 	}
 	else if (fcinfo->context && IsA(fcinfo->context, WindowAggState))
 	{