From c0e4520b1667279389bb0dce8d867df2ac25042a Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Thu, 17 Jul 2014 12:42:08 +0200 Subject: 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. --- doc/src/sgml/ref/pg_ctl-ref.sgml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml index 52bcf5e8153..23681294b87 100644 --- a/doc/src/sgml/ref/pg_ctl-ref.sgml +++ b/doc/src/sgml/ref/pg_ctl-ref.sgml @@ -419,6 +419,22 @@ PostgreSQL documentation Options for Windows + + + + + Name of the event source for pg_ctl to use + for logging to the event log when running as a Windows service. The + default is PostgreSQL. Note that this only controls + the logging from pg_ctl itself - once + started, the server will use the event source specified + by . Should the server fail during + early startup, it may also log using the default event + source PostgreSQL. + + + + -- cgit v1.2.3