pg_ctl server log differenes on win32

Поиск
Список
Период
Сортировка
Искать

pg_ctl server log differenes on win32

От:
Bruce Momjian <bruce@momjian.us>
Дата:
I have updated the pg_ctl docs to explain server output behavior
differences on win32 and non-win32 platforms;  applied patch attached.

-- 
  Bruce Momjian          http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + None of us is going to be here forever. +
Index: ref/pg_ctl-ref.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v
retrieving revision 1.50
diff -c -r1.50 pg_ctl-ref.sgml
*** ref/pg_ctl-ref.sgml	8 Apr 2010 01:39:37 -0000	1.50
--- ref/pg_ctl-ref.sgml	22 Jun 2010 16:18:31 -0000
***************
*** 134,149 ****
  
    
     In  mode, a new server is launched.  The
!    server is started in the background, and standard input is attached to
!    /dev/null.  The standard output and standard
!    error are either appended to a log file (if the 
!    option is used), or redirected to pg_ctl's 
!    standard output (not standard error).  If no log file is chosen, the 
!    standard output of pg_ctl should be redirected 
!    to a file or piped to another process such as a log rotating program
!    like rotatelogs</>; otherwise postgres 
!    will write its output to the controlling terminal (from the background) 
!    and will not leave the shell's process group.
    
  
    
--- 134,152 ----
  
    
     In  mode, a new server is launched.  The
!    server is started in the background, and standard input is attached
!    to /dev/null (or nul</> on Windows).
!    On Unix-like systems, by default, the server's standard output and
!    standard error are send to pg_ctl's
!    standard output (not standard error).  The standard output of
!    pg_ctl should then be redirected to a
!    file or piped to another process such as a log rotating program
!    like rotatelogs</>; otherwise postgres
!    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  to append server output to a log file.
    
  
    
FAQ