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
4b08bf8c
Commit
4b08bf8c
authored
13 years ago
by
Peter Eisentraut
Browse files
Options
Downloads
Patches
Plain Diff
Small cleanup of spacing in verbatim DocBook elements
parent
6755558b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/src/sgml/recovery-config.sgml
+1
-1
1 addition, 1 deletion
doc/src/sgml/recovery-config.sgml
doc/src/sgml/ref/pg_basebackup.sgml
+9
-9
9 additions, 9 deletions
doc/src/sgml/ref/pg_basebackup.sgml
doc/src/sgml/tablefunc.sgml
+11
-11
11 additions, 11 deletions
doc/src/sgml/tablefunc.sgml
with
21 additions
and
21 deletions
doc/src/sgml/recovery-config.sgml
+
1
−
1
View file @
4b08bf8c
...
...
@@ -95,7 +95,7 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
The <xref linkend="pgarchivecleanup"> module
is often used in <varname>archive_cleanup_command</> for
single-standby configurations, for example:
<programlisting>
archive_cleanup_command = 'pg_archivecleanup /mnt/server/archivedir %r'
</programlisting>
<programlisting>archive_cleanup_command = 'pg_archivecleanup /mnt/server/archivedir %r'</programlisting>
Note however that if multiple standby servers are restoring from the
same archive directory, you will need to ensure that you do not delete
WAL files until they are no longer needed by any of the servers.
...
...
This diff is collapsed.
Click to expand it.
doc/src/sgml/ref/pg_basebackup.sgml
+
9
−
9
View file @
4b08bf8c
...
...
@@ -388,26 +388,26 @@ PostgreSQL documentation
To create a base backup of the server at <literal>mydbserver</literal>
and store it in the local directory
<filename>/usr/local/pgsql/data</filename>:
<screen>
<prompt>$</prompt> <userinput>pg_basebackup -h mydbserver -D /usr/local/pgsql/data</userinput>
</screen>
<screen>
<prompt>$</prompt> <userinput>pg_basebackup -h mydbserver -D /usr/local/pgsql/data</userinput>
</screen>
</para>
<para>
To create a backup of the local server with one maximum compressed
tar file for each tablespace, and store it in the directory
<filename>backup</filename>, showing a progress report while running:
<screen>
<prompt>$</prompt> <userinput>pg_basebackup -D backup -Ft -Z9 -P</userinput>
</screen>
<screen>
<prompt>$</prompt> <userinput>pg_basebackup -D backup -Ft -Z9 -P</userinput>
</screen>
</para>
<para>
To create a backup of a single-tablespace local database and compress
this with <productname>bzip2</productname>:
<screen>
<prompt>$</prompt> <userinput>pg_basebackup -D - -Ft | bzip2 > backup.tar.bz2</userinput>
</screen>
<screen>
<prompt>$</prompt> <userinput>pg_basebackup -D - -Ft | bzip2 > backup.tar.bz2</userinput>
</screen>
(this command will fail if there are multiple tablespaces in the
database)
</para>
...
...
This diff is collapsed.
Click to expand it.
doc/src/sgml/tablefunc.sgml
+
11
−
11
View file @
4b08bf8c
...
...
@@ -431,17 +431,17 @@ crosstab(text source_sql, text category_sql)
For example, <parameter>source_sql</parameter> might produce a set
something like:
<programlisting>
SELECT row_name, extra_col, cat, value FROM foo ORDER BY 1;
row_name extra_col cat value
----------+------------+-----+---------
row1 extra1 cat1 val1
row1 extra1 cat2 val2
row1 extra1 cat4 val4
row2 extra2 cat1 val5
row2 extra2 cat2 val6
row2 extra2 cat3 val7
row2 extra2 cat4 val8
SELECT row_name, extra_col, cat, value FROM foo ORDER BY 1;
row_name extra_col cat value
----------+------------+-----+---------
row1 extra1 cat1 val1
row1 extra1 cat2 val2
row1 extra1 cat4 val4
row2 extra2 cat1 val5
row2 extra2 cat2 val6
row2 extra2 cat3 val7
row2 extra2 cat4 val8
</programlisting>
</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