Make event_source visible on all platforms
authorMagnus Hagander <magnus@hagander.net>
Tue, 25 Oct 2011 20:40:58 +0000 (22:40 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 25 Oct 2011 20:40:58 +0000 (22:40 +0200)
On non-windows platform, we just ignore any value set there.

Noted by Jaime Casanova

src/backend/utils/misc/guc.c

index 0b1c912fb3ab41f68cecb6144159626cc3ca8bd2..a22272c6b76c079aaf7500d98900a732807286ac 100644 (file)
@@ -2820,7 +2820,6 @@ static struct config_string ConfigureNamesString[] =
        NULL, assign_syslog_ident, NULL
    },
 
-#ifdef WIN32
    {
        {"event_source", PGC_POSTMASTER, LOGGING_WHERE,
            gettext_noop("Sets the application name used to identify"
@@ -2831,7 +2830,6 @@ static struct config_string ConfigureNamesString[] =
        "PostgreSQL",
        NULL, NULL, NULL
    },
-#endif
 
    {
        {"TimeZone", PGC_USERSET, CLIENT_CONN_LOCALE,