pgsql: Revert dup2() checking in syslogger.c

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема pgsql: Revert dup2() checking in syslogger.c
Дата
Msg-id E1W88ut-00076g-15@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Revert dup2() checking in syslogger.c

Per the expanded comment-

As we're just trying to reset these to go to DEVNULL, there's not
much point in checking for failure from the close/dup2 calls here,
if they fail then presumably the file descriptors are closed and
any writes will go into the bitbucket anyway.

Pointed out by Tom.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/aef61bf433a9e9b6e2d98b0fdcce8562c3ad526f

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


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

Предыдущее
От: KONDO Mitsumasa
Дата:
Сообщение: Re: pgsql: Keep pg_stat_statements' query texts in a file, not in shared me
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: pgsql: Check dup2() results in syslogger