From 1bcdd66315fa1239793134e8284afc272f5975c3 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 8 Jun 2011 20:51:25 +0300 Subject: Reorder pg_ctl promote after pg_ctl status Since start/stop/restart/reload/status is a kind of standard command set, it seems odd to insert the special-purpose "promote" in between the closely related "restart" and "reload". So put it after "status" in code and documentation. Put the documentation of the -U option in some sensible place. Rewrite the synopsis sentence in help and documentation to make it less of a growing mouthful. --- doc/src/sgml/ref/pg_ctl-ref.sgml | 42 ++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (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 36d7200cb4c..ba2646c4c44 100644 --- a/doc/src/sgml/ref/pg_ctl-ref.sgml +++ b/doc/src/sgml/ref/pg_ctl-ref.sgml @@ -12,7 +12,7 @@ PostgreSQL documentation pg_ctl - initialize, start, stop, or restart a PostgreSQL server + initialize, start, stop, or control a PostgreSQL server @@ -77,21 +77,21 @@ PostgreSQL documentation pg_ctl - promote + reload -s -D datadir pg_ctl - reload - -s + status -D datadir pg_ctl - status + promote + -s -D datadir @@ -190,12 +190,6 @@ PostgreSQL documentation command-line options. - - In mode, the standby server that is - running in the specified data directory is commanded to exit - recovery and begin read-write operations. - - mode simply sends the postgres process a SIGHUP @@ -213,6 +207,12 @@ PostgreSQL documentation displayed. + + In mode, the standby server that is + running in the specified data directory is commanded to exit + recovery and begin read-write operations. + + mode allows you to send a signal to a specified process. This is particularly valuable for Microsoft Windows @@ -396,16 +396,6 @@ PostgreSQL documentation - - - - - User name for the user to start the service. For domain users, use the - format DOMAIN\username. - - - - @@ -426,6 +416,16 @@ PostgreSQL documentation + + + + + + User name for the user to start the service. For domain users, use the + format DOMAIN\username. + + + -- cgit v1.2.3