[postgis-tickets] r17125 - Set the default maxvertices for subdivide to be 128,
Paul Ramsey
pramsey at cleverelephant.ca
Fri Jan 4 11:17:41 PST 2019
Author: pramsey
Date: 2019-01-04 11:17:41 -0800 (Fri, 04 Jan 2019)
New Revision: 17125
Modified:
trunk/postgis/lwgeom_dump.c
Log:
Set the default maxvertices for subdivide to be 128,
so that we don't accidentally create subdivided
geometries that still push us over the page size
Modified: trunk/postgis/lwgeom_dump.c
===================================================================
--- trunk/postgis/lwgeom_dump.c 2018-12-29 22:25:37 UTC (rev 17124)
+++ trunk/postgis/lwgeom_dump.c 2019-01-04 19:17:41 UTC (rev 17125)
@@ -343,7 +343,8 @@
GSERIALIZED *gser;
LWGEOM *geom;
LWCOLLECTION *col;
- int maxvertices = 256;
+ /* default to maxvertices < page size */
+ int maxvertices = 128;
/* create a function context for cross-call persistence */
funcctx = SRF_FIRSTCALL_INIT();
More information about the postgis-tickets
mailing list