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