opnsense-ports/databases/pointcloud/files/patch-pgsql_pc__access.c
Franco Fichtner bd0c627dc8 */*: sync with upstream
Taken from: HardenedBSD
2019-06-05 03:43:38 +02:00

26 lines
602 B
C

--- pgsql/pc_access.c.orig 2018-08-22 09:36:04 UTC
+++ pgsql/pc_access.c
@@ -879,9 +879,9 @@ Datum pcpatch_intersects(PG_FUNCTION_ARGS)
if ( pc_bounds_intersects(&(serpa1->bounds), &(serpa2->bounds)) )
{
- PG_RETURN_BOOL(TRUE);
+ PG_RETURN_BOOL(true);
}
- PG_RETURN_BOOL(FALSE);
+ PG_RETURN_BOOL(false);
}
PG_FUNCTION_INFO_V1(pcpatch_size);
@@ -939,9 +939,9 @@ PG_FUNCTION_INFO_V1(pc_lazperf_enabled);
Datum pc_lazperf_enabled(PG_FUNCTION_ARGS)
{
#ifdef HAVE_LAZPERF
- PG_RETURN_BOOL(TRUE);
+ PG_RETURN_BOOL(true);
#else
- PG_RETURN_BOOL(FALSE);
+ PG_RETURN_BOOL(false);
#endif
}