Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
68901574
Commit
68901574
authored
Sep 18, 2003
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put a tad more detail in the discussion of postmaster and postgres
signal handling.
parent
723a9bde
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
9 deletions
+26
-9
doc/src/sgml/ref/postgres-ref.sgml
doc/src/sgml/ref/postgres-ref.sgml
+22
-6
doc/src/sgml/ref/postmaster.sgml
doc/src/sgml/ref/postmaster.sgml
+4
-3
No files found.
doc/src/sgml/ref/postgres-ref.sgml
View file @
68901574
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postgres-ref.sgml,v 1.3
5 2003/08/31 17:32:24 petere
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postgres-ref.sgml,v 1.3
6 2003/09/18 20:30:15 tgl
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -365,13 +365,29 @@ PostgreSQL documentation
...
@@ -365,13 +365,29 @@ PostgreSQL documentation
<title>Notes</title>
<title>Notes</title>
<para>
<para>
To stop a running query use the <literal>SIGINT</literal> signal. To
To cancel a running query, send the <literal>SIGINT</literal> signal
tell <command>postgres</command> to reread the configuration file,
to the <command>postgres</command> process running that command.
use a <literal>SIGHUP</literal> signal. The
</para>
<command>postmaster</command> uses <literal>SIGTERM</literal>
<para>
To tell <command>postgres</command> to reread the configuration file,
send a <literal>SIGHUP</literal> signal. Normally it's best to
<literal>SIGHUP</literal> the <command>postmaster</command> instead;
the <command>postmaster</command> will in turn <literal>SIGHUP</literal>
each of its children. But in some cases it might be desirable to have only
one <command>postgres</command> process reread the configuration file.
</para>
<para>
The <command>postmaster</command> uses <literal>SIGTERM</literal>
to tell a <command>postgres</command> process to quit normally and
to tell a <command>postgres</command> process to quit normally and
<literal>SIGQUIT</literal> to terminate without the normal cleanup.
<literal>SIGQUIT</literal> to terminate without the normal cleanup.
These <emphasis>should not</emphasis> be used by users.
These signals <emphasis>should not</emphasis> be used by users. It is also
unwise to send <literal>SIGKILL</literal> to a <command>postgres</command>
process --- the <command>postmaster</command> will interpret this as
a crash in <command>postgres</command>, and will force all the sibling
<command>postgres</command> processes to quit as part of its standard
crash-recovery procedure.
</para>
</para>
</refsect1>
</refsect1>
...
...
doc/src/sgml/ref/postmaster.sgml
View file @
68901574
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postmaster.sgml,v 1.
39 2003/09/12 00:12:47
tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postmaster.sgml,v 1.
40 2003/09/18 20:30:15
tgl Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -473,10 +473,11 @@ PostgreSQL documentation
...
@@ -473,10 +473,11 @@ PostgreSQL documentation
<para>
<para>
If at all possible, <emphasis>do not</emphasis> use
If at all possible, <emphasis>do not</emphasis> use
<literal>SIGKILL</literal> to kill the
<literal>SIGKILL</literal> to kill the
<command>postmaster</command>.
This
will prevent
<command>postmaster</command>.
Doing so
will prevent
<command>postmaster</command> from freeing the system
<command>postmaster</command> from freeing the system
resources (e.g., shared memory and semaphores) that it holds before
resources (e.g., shared memory and semaphores) that it holds before
terminating.
terminating. This may cause problems for starting a fresh
<command>postmaster</command> run.
</para>
</para>
<para>
<para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment