ports/databases/pointcloud/files/patch-pgsql_pc__access.c
Palle Girgensohn f8095da4a6 reenable pointcloud, all of it this time...
It was removed in r450691 since depending ports where not
added to the tree.

PR:	221577
2017-09-26 19:32:57 +00:00

11 lines
394 B
C

--- 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))
{