|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
<!-- |
|
|
|
|
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.39 2007/02/20 18:10:58 momjian Exp $ |
|
|
|
|
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.40 2007/02/21 23:21:11 momjian Exp $ |
|
|
|
|
PostgreSQL documentation |
|
|
|
|
--> |
|
|
|
|
|
|
|
|
@ -179,9 +179,9 @@ PostgreSQL documentation |
|
|
|
|
<term><option>-D <replaceable class="parameter">datadir</replaceable></option></term> |
|
|
|
|
<listitem> |
|
|
|
|
<para> |
|
|
|
|
Specifies the file system location of the database files. If |
|
|
|
|
this is omitted, the environment variable |
|
|
|
|
<envar>PGDATA</envar> is used. |
|
|
|
|
Specifies the file system location of the database files. If |
|
|
|
|
this is omitted, the environment variable |
|
|
|
|
<envar>PGDATA</envar> is used. |
|
|
|
|
</para> |
|
|
|
|
</listitem> |
|
|
|
|
</varlistentry> |
|
|
|
@ -202,10 +202,10 @@ PostgreSQL documentation |
|
|
|
|
<term><option>-m <replaceable class="parameter">mode</replaceable></option></term> |
|
|
|
|
<listitem> |
|
|
|
|
<para> |
|
|
|
|
Specifies the shutdown mode. <replaceable>mode</replaceable> |
|
|
|
|
can be <literal>smart</literal>, <literal>fast</literal>, or |
|
|
|
|
<literal>immediate</literal>, or the first letter of one of |
|
|
|
|
these three. |
|
|
|
|
Specifies the shutdown mode. <replaceable>mode</replaceable> |
|
|
|
|
can be <literal>smart</literal>, <literal>fast</literal>, or |
|
|
|
|
<literal>immediate</literal>, or the first letter of one of |
|
|
|
|
these three. |
|
|
|
|
</para> |
|
|
|
|
</listitem> |
|
|
|
|
</varlistentry> |
|
|
|
@ -218,8 +218,8 @@ PostgreSQL documentation |
|
|
|
|
<command>postgres</command> command. |
|
|
|
|
</para> |
|
|
|
|
<para> |
|
|
|
|
The options are usually surrounded by single or double |
|
|
|
|
quotes to ensure that they are passed through as a group. |
|
|
|
|
The options are usually surrounded by single or double |
|
|
|
|
quotes to ensure that they are passed through as a group. |
|
|
|
|
</para> |
|
|
|
|
</listitem> |
|
|
|
|
</varlistentry> |
|
|
|
@ -228,12 +228,12 @@ PostgreSQL documentation |
|
|
|
|
<term><option>-p <replaceable class="parameter">path</replaceable></option></term> |
|
|
|
|
<listitem> |
|
|
|
|
<para> |
|
|
|
|
Specifies the location of the <filename>postgres</filename> |
|
|
|
|
executable. By default the <filename>postgres</filename> executable is taken from the same |
|
|
|
|
directory as <command>pg_ctl</command>, or failing that, the hard-wired |
|
|
|
|
installation directory. It is not necessary to use this |
|
|
|
|
option unless you are doing something unusual and get errors |
|
|
|
|
that the <filename>postgres</filename> executable was not found. |
|
|
|
|
Specifies the location of the <filename>postgres</filename> |
|
|
|
|
executable. By default the <filename>postgres</filename> executable is taken from the same |
|
|
|
|
directory as <command>pg_ctl</command>, or failing that, the hard-wired |
|
|
|
|
installation directory. It is not necessary to use this |
|
|
|
|
option unless you are doing something unusual and get errors |
|
|
|
|
that the <filename>postgres</filename> executable was not found. |
|
|
|
|
</para> |
|
|
|
|
</listitem> |
|
|
|
|
</varlistentry> |
|
|
|
@ -253,9 +253,9 @@ PostgreSQL documentation |
|
|
|
|
<para> |
|
|
|
|
Attempt to allow server crashes to produce core files, on platforms |
|
|
|
|
where this available, by lifting any soft resource limit placed on |
|
|
|
|
them. |
|
|
|
|
This is useful in debugging or diagnosing problems by allowing a |
|
|
|
|
stack trace to be obtained from a failed server process. |
|
|
|
|
them. |
|
|
|
|
This is useful in debugging or diagnosing problems by allowing a |
|
|
|
|
stack trace to be obtained from a failed server process. |
|
|
|
|
</para> |
|
|
|
|
</listitem> |
|
|
|
|
</varlistentry> |
|
|
|
@ -264,8 +264,8 @@ PostgreSQL documentation |
|
|
|
|
<term><option>-w</option></term> |
|
|
|
|
<listitem> |
|
|
|
|
<para> |
|
|
|
|
Wait for the start or shutdown to complete. Times out after |
|
|
|
|
60 seconds. This is the default for shutdowns. A successful |
|
|
|
|
Wait for the start or shutdown to complete. Times out after |
|
|
|
|
60 seconds. This is the default for shutdowns. A successful |
|
|
|
|
shutdown is indicated by removal of the <acronym>PID</acronym> |
|
|
|
|
file. For starting up, a successful <command>psql -l</command> |
|
|
|
|
indicates success. <command>pg_ctl</command> will attempt to |
|
|
|
@ -276,7 +276,7 @@ PostgreSQL documentation |
|
|
|
|
<productname>PostgreSQL</productname> was compiled with |
|
|
|
|
(5432 by default). When waiting, <command>pg_ctl</command> will |
|
|
|
|
return an accurate exit code based on the success of the startup |
|
|
|
|
or shutdown. |
|
|
|
|
or shutdown. |
|
|
|
|
</para> |
|
|
|
|
</listitem> |
|
|
|
|
</varlistentry> |
|
|
|
|