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

Поиск
Список
Период
Сортировка
От MauMau
Тема Re: [bug fix] pg_ctl always uses the same event source
Дата
Msg-id BC8D0BF2E63D4F5E91DC82FE71C381E3@maumau
обсуждение исходный текст
Ответ на Re: [bug fix] pg_ctl always uses the same event source  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: [bug fix] pg_ctl always uses the same event source
Список pgsql-hackers
From: "Amit Kapila" <amit.kapila16@gmail.com>
> Few other points:
> -------------------------
> 1.
> #ifdef WIN32
> /* Get event source from postgresql.conf for eventlog output */
> get_config_value("event_source", event_source, sizeof(event_source));
> #endif
>
> event logging is done for both win32 and cygwin env.
> under hash define (Win32 || cygwin),
> so event source name should also be retrieved for both
> environments. Refer below in code:
>
> #if defined(WIN32) || defined(__CYGWIN__)
> static void
> write_eventlog(int level, const char *line)
>
> 2.
> Docs needs to be updated for default value:
> http://www.postgresql.org/docs/devel/static/event-log-registration.html
> http://www.postgresql.org/docs/devel/static/runtime-config-logging.html#GUC-EVENT-SOURCE

Okay, done.  Thanks.  I'll update the commitfest entry this weekend.

Regards
MauMau


Вложения

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

Предыдущее
От: Haribabu kommi
Дата:
Сообщение: Re: New option for pg_basebackup, to specify a different directory for pg_xlog
Следующее
От: Robert Haas
Дата:
Сообщение: Re: preserving forensic information when we freeze