Skip to content

Commit a447ae2

Browse files
committed
The constant in backend/utils/misc/trace.c, line 32 limits the length of
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
1 parent 5b795be commit a447ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/misc/trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* but it's probably not worth the trouble. Instead limit trace message
3030
* length to this.
3131
*/
32-
#define TRACEMSG_MAXLEN 1024
32+
#define TRACEMSG_MAXLEN 4096
3333

3434
#ifdef USE_SYSLOG
3535
/*

0 commit comments

Comments
 (0)