pgsql: Increase PG_SYSLOG_LIMIT (the max line length sent to syslog())

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Increase PG_SYSLOG_LIMIT (the max line length sent to syslog())
Date: 2008-07-09 15:56:49
Message-ID: 20080709155649.D0398754857@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Increase PG_SYSLOG_LIMIT (the max line length sent to syslog()) from 128 to
1024 to improve performance when sending large elog messages. Also add a
comment about why we use that number.

Since this represents an externally visible behavior change, and might
possibly result in portability issues, it seems best not to back-patch it.

Modified Files:
--------------
pgsql/src/backend/utils/error:
elog.c (r1.204 -> r1.205)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c?r1=1.204&r2=1.205)

Browse pgsql-committers by date

  From Date Subject
Next Message User Mkz 2008-07-09 16:27:24 pgbouncer - pgbouncer: log proper reason for disconnect
Previous Message User Gleu 2008-07-09 15:47:15 pginstaller - pginst: Update the template message in the french