[postgis-tickets] r16033 - Bigger buffer for error messages

Sandro Santilli strk at kbt.io
Sun Oct 22 08:38:48 PDT 2017


Author: strk
Date: 2017-10-22 08:38:47 -0700 (Sun, 22 Oct 2017)
New Revision: 16033

Modified:
   trunk/libpgcommon/lwgeom_pg.c
Log:
Bigger buffer for error messages

Modified: trunk/libpgcommon/lwgeom_pg.c
===================================================================
--- trunk/libpgcommon/lwgeom_pg.c	2017-10-21 13:43:21 UTC (rev 16032)
+++ trunk/libpgcommon/lwgeom_pg.c	2017-10-22 15:38:47 UTC (rev 16033)
@@ -29,7 +29,7 @@
 #include <stdlib.h>
 #include <stdarg.h>
 
-#define PGC_ERRMSG_MAXLEN 256
+#define PGC_ERRMSG_MAXLEN 2048 //256
 
 /**
 * Utility to convert cstrings to textp pointers



More information about the postgis-tickets mailing list