Re: pg_dump, pg_dumpall, pg_restore: Add --no-policies option - Mailing list pgsql-hackers

From jian he
Subject Re: pg_dump, pg_dumpall, pg_restore: Add --no-policies option
Date
Msg-id CACJufxGEMfv6OwjDvnd1dRveTpR6gvYJNCrkwjDWQ9-Q0ODgiQ@mail.gmail.com
Whole thread Raw
In response to Re: pg_dump, pg_dumpall, pg_restore: Add --no-policies option  (Greg Sabino Mullane <htamfids@gmail.com>)
List pgsql-hackers
hi.

around src/bin/pg_dump/pg_dump.c line 1117
right after "ropt->no_comments = dopt.no_comments;"
we also need add
    ropt->no_policies = dopt.no_policies;
?

overall looks good to me.
The tests seem wrong per
https://cirrus-ci.com/github/postgresql-cfbot/postgresql/cf%2F5499
I have no idea how to improve the test.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Hex-coding optimizations using SVE on ARM.
Next
From: David Rowley
Date:
Subject: Re: Incorrect CHUNKHDRSZ in nodeAgg.c