diff --git a/doc/src/sgml/recovery-config.sgml b/doc/src/sgml/recovery-config.sgml index 144b880f42..de6090520d 100644 --- a/doc/src/sgml/recovery-config.sgml +++ b/doc/src/sgml/recovery-config.sgml @@ -95,7 +95,7 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows The module is often used in archive_cleanup_command for single-standby configurations, for example: - archive_cleanup_command = 'pg_archivecleanup /mnt/server/archivedir %r' +archive_cleanup_command = 'pg_archivecleanup /mnt/server/archivedir %r' 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. diff --git a/doc/src/sgml/ref/pg_basebackup.sgml b/doc/src/sgml/ref/pg_basebackup.sgml index 382effdaa3..26f290464c 100644 --- a/doc/src/sgml/ref/pg_basebackup.sgml +++ b/doc/src/sgml/ref/pg_basebackup.sgml @@ -388,26 +388,26 @@ PostgreSQL documentation To create a base backup of the server at mydbserver and store it in the local directory /usr/local/pgsql/data: - - $ pg_basebackup -h mydbserver -D /usr/local/pgsql/data - + +$ pg_basebackup -h mydbserver -D /usr/local/pgsql/data + To create a backup of the local server with one maximum compressed tar file for each tablespace, and store it in the directory backup, showing a progress report while running: - - $ pg_basebackup -D backup -Ft -Z9 -P - + +$ pg_basebackup -D backup -Ft -Z9 -P + To create a backup of a single-tablespace local database and compress this with bzip2: - - $ pg_basebackup -D - -Ft | bzip2 > backup.tar.bz2 - + +$ pg_basebackup -D - -Ft | bzip2 > backup.tar.bz2 + (this command will fail if there are multiple tablespaces in the database) diff --git a/doc/src/sgml/tablefunc.sgml b/doc/src/sgml/tablefunc.sgml index dfb932f501..60f0b57cd9 100644 --- a/doc/src/sgml/tablefunc.sgml +++ b/doc/src/sgml/tablefunc.sgml @@ -431,17 +431,17 @@ crosstab(text source_sql, text category_sql) For example, source_sql might produce a set something like: - 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 - ----------+------------+-----+--------- - 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 + 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