git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8327060)
Update pg_ctl docs to explain server output behavior differences on
2010年6月22日 16:19:36 +0000 (16:19 +0000)
2010年6月22日 16:19:36 +0000 (16:19 +0000)
win32 and non-win32 platforms.


diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml
index 99d9eb0ca723679a9de62e4cc67f6d2b7a72f3f0..61e4e397c94f9fbe934b984afe2566fe563cd42f 100644 (file)
--- a/doc/src/sgml/ref/pg_ctl-ref.sgml
+++ b/doc/src/sgml/ref/pg_ctl-ref.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.50 2010年04月08日 01:39:37 rhaas Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.51 2010年06月22日 16:19:36 momjian Exp $
PostgreSQL documentation
-->
@@ -134,16 +134,19 @@ PostgreSQL documentation
<para>
In <option>start</option> mode, a new server is launched. The
- server is started in the background, and standard input is attached to
- <filename>/dev/null</filename>. The standard output and standard
- error are either appended to a log file (if the <option>-l</option>
- option is used), or redirected to <application>pg_ctl</application>'s
- standard output (not standard error). If no log file is chosen, the
- standard output of <application>pg_ctl</application> should be redirected
- to a file or piped to another process such as a log rotating program
- like <application>rotatelogs</>; otherwise <command>postgres</command>
- will write its output to the controlling terminal (from the background)
- and will not leave the shell's process group.
+ server is started in the background, and standard input is attached
+ to <filename>/dev/null</filename> (or <literal>nul</> on Windows).
+ On Unix-like systems, by default, the server's standard output and
+ standard error are send to <application>pg_ctl</application>'s
+ standard output (not standard error). The standard output of
+ <application>pg_ctl</application> should then be redirected to a
+ file or piped to another process such as a log rotating program
+ like <application>rotatelogs</>; otherwise <command>postgres</command>
+ will write its output to the controlling terminal (from the
+ background) and will not leave the shell's process group. On
+ Windows, by default the server's standard output and standard error
+ are sent to the terminal. These default behaviors can be changed
+ by using <option>-l</option> to append server output to a log file.
</para>
<para>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /