From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Reduce PG_SYSLOG_LIMIT to 900 bytes. |
Date: | 2011-08-06 01:03:03 |
Message-ID: | E1QpVI7-0000p4-51@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Reduce PG_SYSLOG_LIMIT to 900 bytes.
The previous limit of 1024 was set on the assumption that all modern syslog
implementations have line length limits of 2KB or so. However, this is
false, as at least Solaris and sysklogd truncate at only 1KB. 900 seems
to leave enough room for the max likely length of the tacked-on prefixes,
so let's go with that.
As with the previous change, it doesn't seem wise to back-patch this into
already-released branches; but it should be OK to sneak it into 9.1.
Noah Misch
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/375aa7b393843800a2bfefcbc13fa68ca82dee53
Modified Files
--------------
src/backend/utils/error/elog.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-08-06 01:18:42 | pgsql: Fix thinko in documentation of local_preload_libraries. |
Previous Message | Robert Haas | 2011-08-05 17:25:01 | pgsql: Allow per-column foreign data wrapper options. |