pgsql: Avoid crash in "postgres -C guc" for a GUC with a null string va

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Avoid crash in "postgres -C guc" for a GUC with a null string va
Дата
Msg-id E1bDZzL-0006o6-Qu@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Avoid crash in "postgres -C guc" for a GUC with a null string value.

Emit "(null)" instead, which was the behavior all along on platforms
that don't crash, eg OS X.  Per report from Jehan-Guillaume de Rorthais.
Back-patch to 9.2 where -C option was introduced.

Michael Paquier

Report: <20160615204036.2d35d86a@firost>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0b0baf26211a98a8593279fa24635bc4dd9ac99d

Modified Files
--------------
src/backend/postmaster/postmaster.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] Re: pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold <
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Avoid crash in "postgres -C guc" for a GUC with a null string va