]> granicus.if.org Git - postgresql/commitdiff
The constant in backend/utils/misc/trace.c, line 32 limits the length of
authorBruce Momjian <bruce@momjian.us>
Mon, 10 Apr 2000 19:25:29 +0000 (19:25 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 10 Apr 2000 19:25:29 +0000 (19:25 +0000)
logged queries to 1024, truncating longer queries.  That is about half of
the size I need (I have a union that is 2K long).  Can someone consider
bumping it to 4K or so?  Patch attached...

Regards,
Ed Loehr

src/backend/utils/misc/trace.c

index 33ca0ce0a6b8fadb3fecfbc6bbb63aed9a2d28d9..b2ff231d03859c0a015bd348c87555993fb1a7da 100644 (file)
@@ -29,7 +29,7 @@
  * but it's probably not worth the trouble.  Instead limit trace message
  * length to this.
  */
-#define TRACEMSG_MAXLEN                1024
+#define TRACEMSG_MAXLEN                4096
 
 #ifdef USE_SYSLOG
 /*