Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
19a495ca
Commit
19a495ca
authored
21 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Properly document rotatelogs, and add mention of it to pg_ctl manual page.
parent
0cb27df5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/src/sgml/maintenance.sgml
+4
-4
4 additions, 4 deletions
doc/src/sgml/maintenance.sgml
doc/src/sgml/ref/pg_ctl-ref.sgml
+6
-6
6 additions, 6 deletions
doc/src/sgml/ref/pg_ctl-ref.sgml
with
10 additions
and
10 deletions
doc/src/sgml/maintenance.sgml
+
4
−
4
View file @
19a495ca
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.3
3
2004/0
4/05 03:02:03
momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.3
4
2004/0
5/14 20:01:19
momjian Exp $
-->
-->
<chapter id="maintenance">
<chapter id="maintenance">
...
@@ -461,7 +461,7 @@ VACUUM
...
@@ -461,7 +461,7 @@ VACUUM
you can send a <literal>SIGHUP</literal> signal to the
you can send a <literal>SIGHUP</literal> signal to the
<application>syslog</> daemon whenever you want to force it to
<application>syslog</> daemon whenever you want to force it to
start writing a new log file. If you want to automate log
start writing a new log file. If you want to automate log
rotation, the <application>
log
rotate</application> program can be
rotation, the <application>rotate
logs
</application> program can be
configured to work with log files from
configured to work with log files from
<application>syslog</application>.
<application>syslog</application>.
</para>
</para>
...
@@ -484,12 +484,12 @@ VACUUM
...
@@ -484,12 +484,12 @@ VACUUM
pipe command:
pipe command:
<programlisting>
<programlisting>
pg_ctl start |
log
rotate
pg_ctl start | rotate
logs /var/log/pgsql_log 86400
</programlisting>
</programlisting>
The <productname>PostgreSQL</> distribution doesn't include a
The <productname>PostgreSQL</> distribution doesn't include a
suitable log rotation program, but there are many available on the
suitable log rotation program, but there are many available on the
Internet. For example, the <application>
log
rotate</application>
Internet. For example, the <application>rotate
logs
</application>
tool included in the <productname>Apache</productname> distribution
tool included in the <productname>Apache</productname> distribution
can be used with <productname>PostgreSQL</productname>.
can be used with <productname>PostgreSQL</productname>.
</para>
</para>
...
...
This diff is collapsed.
Click to expand it.
doc/src/sgml/ref/pg_ctl-ref.sgml
+
6
−
6
View file @
19a495ca
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.2
5
200
3/11/29 19:5
1:
3
9
pgsql
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.2
6
200
4/05/14 20:0
1:
1
9
momjian
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -90,10 +90,10 @@ PostgreSQL documentation
...
@@ -90,10 +90,10 @@ PostgreSQL documentation
option is used), or redirected to <application>pg_ctl</application>'s
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 (not standard error). If no log file is chosen, the
standard output of <application>pg_ctl</application> should be redirected
standard output of <application>pg_ctl</application> should be redirected
to a file or piped to another process
, for example
a log rotating program
,
to a file or piped to another process
such as
a log rotating program
otherwise <command>postmaster</command>
will write its output to the controlling
like <application>rotatelogs</>;
otherwise
the
<command>postmaster</command>
terminal (from the background)
and will not leave the shell's
will write its output to the controlling
terminal (from the background)
process group.
and will not leave the shell's
process group.
</para>
</para>
<para>
<para>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment