pgsql: Add option to pg_ctl to choose event source for logging

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add option to pg_ctl to choose event source for logging
Date: 2014-07-17 10:45:17
Message-ID: E1X7jBd-0004RN-50@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add option to pg_ctl to choose event source for logging

pg_ctl will log to the Windows event log when it is running as a service,
which is the primary way of running PostgreSQL on Windows. This option
makes it possible to specify which event source to use for this, in order
to separate different instances. The server logging itself is still controlled
by the regular logging parameters, including a separate setting for the event
source. The parameter to pg_ctl only controlls the logging from pg_ctl itself.

MauMau, review in many iterations by Amit Kapila and me.

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/ref/pg_ctl-ref.sgml | 16 ++++++++++++++++
src/backend/utils/error/elog.c | 3 ++-
src/backend/utils/misc/guc.c | 2 +-
src/bin/pg_ctl/pg_ctl.c | 16 ++++++++++++++--
src/bin/pgevent/pgevent.c | 2 +-
src/include/pg_config_manual.h | 5 +++++
6 files changed, 39 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2014-07-17 11:20:09 pgsql: Revert broken change to pgevent.c
Previous Message Peter Eisentraut 2014-07-17 03:06:40 pgsql: doc: Spell checking