]> granicus.if.org Git - postgresql/commit
Eliminate elog()'s hardwired limit on length of an error message.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 11 Sep 1999 19:06:42 +0000 (19:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 11 Sep 1999 19:06:42 +0000 (19:06 +0000)
commitb399805e221b5407f4f459c41661c86bb580680f
treefdab78c0187b25724fe31b456fd79f3a15a3ed6b
parent1e4f0197bb3271b4ed2427b8c661a34aaaf7c220
Eliminate elog()'s hardwired limit on length of an error message.
This change seems necessary in conjunction with long queries, and it
cleans up some bogosity in connection with long EXPLAIN texts anyway.
Note that current libpq will accept any length error message (at least
until it runs out of memory); prior versions have a limit of 8K, but
will cleanly discard excess error text, so there shouldn't be any
big compatibility problems with old clients.
src/backend/commands/explain.c
src/backend/utils/error/elog.c
src/backend/utils/misc/trace.c
src/include/utils/elog.h