~ubuntu-branches/ubuntu/trusty/postgresql-9.3/trusty-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/man1/pg_dumpall.1

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2016-02-11 15:44:43 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20160211154443-hmgw1nqsuckp5pa9
Tags: 9.3.11-0ubuntu0.14.04
* New upstream security/bug fix release: (LP: #1544576)
  - Fix infinite loops and buffer-overrun problems in regular expressions.
    Very large character ranges in bracket expressions could cause infinite
    loops in some cases, and memory overwrites in other cases.
    (CVE-2016-0773)
  - Prevent certain PL/Java parameters from being set by non-superusers.
    This change mitigates a PL/Java security bug (CVE-2016-0766), which was
    fixed in PL/Java by marking these parameters as superuser-only. To fix
    the security hazard for sites that update PostgreSQL more frequently
    than PL/Java, make the core code aware of them also.
  - See release notes for details about other fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
'\" t
2
2
.\"     Title: pg_dumpall
3
3
.\"    Author: The PostgreSQL Global Development Group
4
 
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
5
 
.\"      Date: 2015
6
 
.\"    Manual: PostgreSQL 9.3.10 Documentation
7
 
.\"    Source: PostgreSQL 9.3.10
 
4
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
 
5
.\"      Date: 2016
 
6
.\"    Manual: PostgreSQL 9.3.11 Documentation
 
7
.\"    Source: PostgreSQL 9.3.11
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "PG_DUMPALL" "1" "2015" "PostgreSQL 9.3.10" "PostgreSQL 9.3.10 Documentation"
 
10
.TH "PG_DUMPALL" "1" "2016" "PostgreSQL 9.3.11" "PostgreSQL 9.3.11 Documentation"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * Define some portability stuff
13
13
.\" -----------------------------------------------------------------
35
35
\fBpg_dumpall\fR [\fIconnection\-option\fR...] [\fIoption\fR...]
36
36
.SH "DESCRIPTION"
37
37
.PP
38
 
 
39
38
pg_dumpall
40
39
is a utility for writing out (\(lqdumping\(rq) all
41
40
PostgreSQL
56
55
.PP
57
56
The SQL script will be written to the standard output\&. Use the [\-f|file] option or shell operators to redirect it into a file\&.
58
57
.PP
59
 
 
60
58
pg_dumpall
61
59
needs to connect several times to the
62
60
PostgreSQL
317
315
Specifies a role name to be used to create the dump\&. This option causes
318
316
pg_dumpall
319
317
to issue a
320
 
\fBSET ROLE\fR
321
 
\fIrolename\fR
 
318
\fBSET ROLE\fR\fIrolename\fR
322
319
command after connecting to the database\&. It is useful when the authenticated user (specified by
323
320
\fB\-U\fR) lacks privileges needed by
324
321
pg_dumpall, but can switch to a role with the required rights\&. Some installations have a policy against logging in directly as a superuser, and use of this option allows dumps to be made without violating the policy\&.
351
348
\fBvacuumdb \-a \-z\fR
352
349
to analyze all databases\&.
353
350
.PP
354
 
 
355
351
pg_dumpall
356
352
requires all needed tablespace directories to exist before the restore; otherwise, database creation will fail for databases in non\-default locations\&.
357
353
.SH "EXAMPLES"