summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrew Dunstan2007-01-05 16:17:55 +0000
committerAndrew Dunstan2007-01-05 16:17:55 +0000
commit226e9fffc855da10fcf2a69e49c52f9baf5e6e61 (patch)
tree7cec28a8d023a64dd28859c7cbdcf8ba53751cab /doc
parent138668ca37d3f38652fd4b31a9b8091293b03a16 (diff)
Call setrlimit if possible in pg_regress to allow core file generation, and provide a switch for similar behaviour in pg_ctl.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/sgml/ref/pg_ctl-ref.sgml17
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml
index df5b3755b53..72fb51b1c76 100644
--- 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.35 2006/12/02 00:34:52 petere Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.36 2007/01/05 16:17:54 adunstan Exp $
PostgreSQL documentation
-->
@@ -29,6 +29,7 @@ PostgreSQL documentation
<arg>-l <replaceable>filename</replaceable></arg>
<arg>-o <replaceable>options</replaceable></arg>
<arg>-p <replaceable>path</replaceable></arg>
+ <arg>-c</arg>
<sbr>
<command>pg_ctl</command>
<arg choice="plain">stop</arg>
@@ -48,6 +49,7 @@ PostgreSQL documentation
<arg>-w</arg>
<arg>-s</arg>
<arg>-D <replaceable>datadir</replaceable></arg>
+ <arg>-c</arg>
<arg>-m
<group choice="plain">
<arg>s[mart]</arg>
@@ -246,6 +248,19 @@ PostgreSQL documentation
</varlistentry>
<varlistentry>
+ <term><option>-c</option></term>
+ <listitem>
+ <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.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-w</option></term>
<listitem>
<para>