mirror of
https://github.com/postgres/postgres.git
synced 2026-02-15 16:48:17 -05:00
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 |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| archive.c | ||
| cancel.c | ||
| conditional.c | ||
| connect_utils.c | ||
| Makefile | ||
| mbprint.c | ||
| option_utils.c | ||
| parallel_slot.c | ||
| print.c | ||
| psqlscan.l | ||
| query_utils.c | ||
| recovery_gen.c | ||
| simple_list.c | ||
| string_utils.c | ||