pgsql: Reduce PG_SYSLOG_LIMIT to 900 bytes.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Reduce PG_SYSLOG_LIMIT to 900 bytes.
Дата
Msg-id E1QpVI7-0000p6-5A@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/20b6578bdb4fe40eee7a01674eb077ffdb19d874

Modified Files
--------------
src/backend/utils/error/elog.c |    7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Allow per-column foreign data wrapper options.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Reduce PG_SYSLOG_LIMIT to 900 bytes.