From 636b868f17a6d38c0f9e099ea8f389a555403f9e Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Fri, 8 Nov 2013 15:08:11 -0500 Subject: [PATCH] doc: Clarify under what circumstances pg_dump needs superuser access. Inspired by, but different from, a patch from Ivan Lezhnjov IV --- doc/src/sgml/backup.sgml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index ccb76d8af0..54681a0ba0 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -47,8 +47,13 @@ pg_dump dbname > pg_dump does not operate with special permissions. In particular, it must - have read access to all tables that you want to back up, so in - practice you almost always have to run it as a database superuser. + have read access to all tables that you want to back up, so in order + to back up the entire database you almost always have to run it as a + database superuser. (If you do not sufficient privileges to back up the + entire database, you can still back up portions of the database to which + you do have access using options such as + + or .) -- 2.40.0