ports/databases/pointcloud/files/patch-pgsql_pc__access.c
Palle Girgensohn a7aa667e23 Add pointcloud to the ports tree
A PostgreSQL extension for storing point cloud (LIDAR) data.
PR:	221577
2017-09-26 17:51:47 +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))
{