Re: [PATCH] pg_dumpall options proposal/patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] pg_dumpall options proposal/patch
Date
Msg-id 2234516.1607118204@sss.pgh.pa.us
Whole thread Raw
In response to [PATCH] pg_dumpall options proposal/patch  (code@remington.io)
List pgsql-hackers
code@remington.io writes:
> I have a relatively trivial proposal - this affects pg_dumpall exclusively. Primary use case in ability to use
pg_dumpallwithout SUPERUSER. 

> * Add --no-alter-role flag to only use CREATE ROLE syntax instead of CREATE then ALTER.

What's the point of that?

> * Likely controversial - add --merge-credentials-file which loads ROLE/PASSWORD combinations from an ini file and
addsto dump output if ROLE password not present. Implemented with an external library, inih. 

If it requires an external library, it's probably DOA, regardless of
whether there's a compelling use-case (which you didn't present anyway).

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Removal of operator_precedence_warning
Next
From: Alvaro Herrera
Date:
Subject: Re: A few new options for CHECKPOINT