pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndQuadrant.com>
To: pgsql-committers@postgresql.org
Subject: pgsql: Allow pg_dumpall to dump roles w/o user passwords
Date: Tue, 07 Mar 2017 14:06:44 +0000
Message-ID: <E1clFlE-0004j2-5S@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Allow pg_dumpall to dump roles w/o user passwords

Add new option --no-role-passwords which dumps roles without passwords.
Since we don’t need passwords, we choose to use pg_roles in preference
to pg_authid since access may be restricted for security reasons in
some configrations.

Robins Tharakan and Simon Riggs

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9a83d56b38c870ce47b7651385ff2add583bf136

Modified Files
--------------
doc/src/sgml/ref/pg_dumpall.sgml |  13 ++++
src/bin/pg_dump/pg_dumpall.c     | 132 +++++++++++++++++++++++++--------------
2 files changed, 97 insertions(+), 48 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1clFlE-0004j2-5S@gemulon.postgresql.org>
Permalink:  ../E1clFlE-0004j2-5S@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1clFlE-0004j2-5S@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: simon@2ndQuadrant.com
  Subject: Re: pgsql: Allow pg_dumpall to dump roles w/o user passwords
  In-Reply-To: <E1clFlE-0004j2-5S@gemulon.postgresql.org>
  References: <E1clFlE-0004j2-5S@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox