On Fri, Sep 11, 2020 at 3:23 PM Mark Dilger
<mark.dilger@enterprisedb.com> wrote:
> Another option would be to have pg_dump take a strictness mode option. I don't think the option should have anything
todo with postfix operators specifically, but be more general like --dump-incompatible-objects vs.
--omit-incompatible-objectsvs. --error-on-incompatible-objects vs. --do-your-best-to-fixup-incompatible-objects, with
oneof those being the default (and with all of them having better names). If --error-on-incompatible-objects were the
default,that would behave as Robert recommended upthread.
>
> I can totally see an objection to the added complexity of such options, so I'm really just putting this out on the
listfor comment.
I'm not opposed to Tom's proposal. I just wanted to raise the issue
for discussion.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company