postgresql/src/include/fe_utils
Tom Lane 0c9d84427f Rethink pg_dump's handling of object ACLs.
Throw away most of the existing logic for this, as it was very
inefficient thanks to expensive sub-selects executed to collect
ACL data that we very possibly would have no interest in dumping.
Reduce the ACL handling in the initial per-object-type queries
to be just collection of the catalog ACL fields, as it was
originally.  Fetch pg_init_privs data separately in a single
scan of that catalog, and do the merging calculations on the
client side.  Remove the separate code path used for pre-9.6
source servers; there is no good reason to treat them differently
from newer servers that happen to have empty pg_init_privs.

Discussion: https://postgr.es/m/2273648.1634764485@sss.pgh.pa.us
Discussion: https://postgr.es/m/7d7eb6128f40401d81b3b7a898b6b4de@W2012-02.nidsa.loc
2021-12-06 12:39:45 -05:00
..
archive.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
cancel.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
conditional.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
connect_utils.h Move some code from src/bin/scripts to src/fe_utils to permit reuse. 2021-02-05 13:33:38 -05:00
mbprint.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
option_utils.h Unify parsing logic for command-line integer options 2021-07-24 18:35:03 +09:00
parallel_slot.h Refactor and generalize the ParallelSlot machinery. 2021-03-11 13:17:46 -05:00
print.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
psqlscan.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
psqlscan_int.h psql: Refine lexing of BEGIN...END blocks in CREATE FUNCTION statements 2021-04-16 12:20:23 +02:00
query_utils.h Move some code from src/bin/scripts to src/fe_utils to permit reuse. 2021-02-05 13:33:38 -05:00
recovery_gen.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
simple_list.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
string_utils.h Rethink pg_dump's handling of object ACLs. 2021-12-06 12:39:45 -05:00