From f18752dab5493fdb4ea166979515a0b47657c29c Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Mon, 21 Feb 2005 02:13:26 +0000 Subject: [PATCH] Document the "register" and "unregister" pg_ctl subcommands, for use on Windows. Patch from Magnus Hagander. --- doc/src/sgml/ref/pg_ctl-ref.sgml | 66 ++++++++++++++++++++++++++++++-- 1 file changed, 63 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml index 7b9caf5512..d8843175c3 100644 --- a/doc/src/sgml/ref/pg_ctl-ref.sgml +++ b/doc/src/sgml/ref/pg_ctl-ref.sgml @@ -1,5 +1,5 @@ @@ -70,6 +70,19 @@ PostgreSQL documentation kill signal_name process_id + + pg_ctl + register + -N servicename + -U username + -P password + -D datadir + -w + -o options + + pg_ctl + unregister + -N servicename @@ -143,6 +156,17 @@ PostgreSQL documentation which does not have a kill command. Use --help to see a list of supported signal names. + + + mode allows you to register a system service + on Microsoft Windows. + + + + mode allows you to unregister a system service + on Microsoft Windows, previously registered with the + command. + @@ -253,8 +277,44 @@ PostgreSQL documentation - - + + + + + + Windows options + + + + + + + Name of the system service to register. The name will be used + as both the service name and the display name. + + + + + + + + + Password for the user to start the service. + + + + + + + + + Username for the user to start the service. For domain users, use the + format DOMAIN\username. + + + + +