From a447ae22210bdef38e82010e3d811e7c703009c0 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Mon, 10 Apr 2000 19:25:29 +0000 Subject: [PATCH] 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 --- src/backend/utils/misc/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/utils/misc/trace.c b/src/backend/utils/misc/trace.c index 33ca0ce0a6b..b2ff231d038 100644 --- a/src/backend/utils/misc/trace.c +++ b/src/backend/utils/misc/trace.c @@ -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 /* -- GitLab