Re: [bug fix] pg_ctl always uses the same event source

From: "MauMau" <maumau307(at)gmail(dot)com>
To: "Magnus Hagander" <magnus(at)hagander(dot)net>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [bug fix] pg_ctl always uses the same event source
Date: 2013-12-08 20:55:46
Message-ID: E5E384918A6742F38C15D61724433240@maumau
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

From: "Magnus Hagander" <magnus(at)hagander(dot)net>
> Not having looked at it in detail yet, but this seems to completely remove
> the default value. What happens if the error that needs to be logged is
> the
> one saying that it couldn't exec postgres to find out the value in the
> config file? AFAICT it's going to try to register an eventsource with
> whatever random garbage happens to be in the variable.

Thank you for commenting, Magnus san.
The variable is global and contains an empty string, so even in the unlikely
situation where postgres -C fails, the event source simply becomes blank.

Regards
MauMau

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message MauMau 2013-12-08 21:08:18 Re: Re: [RFC] Shouldn't we remove annoying FATAL messages from server log?
Previous Message Alexander Korotkov 2013-12-08 19:56:40 Re: GIN improvements part 1: additional information