Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0c9d844

Browse files
committed
Rethink pg_dump's handling of object ACLs.
Throw away most of the existing logic for this, as it was veryinefficient thanks to expensive sub-selects executed to collectACL data that we very possibly would have no interest in dumping.Reduce the ACL handling in the initial per-object-type queriesto be just collection of the catalog ACL fields, as it wasoriginally. Fetch pg_init_privs data separately in a singlescan of that catalog, and do the merging calculations on theclient side. Remove the separate code path used for pre-9.6source servers; there is no good reason to treat them differentlyfrom newer servers that happen to have empty pg_init_privs.Discussion:https://postgr.es/m/2273648.1634764485@sss.pgh.pa.usDiscussion:https://postgr.es/m/7d7eb6128f40401d81b3b7a898b6b4de@W2012-02.nidsa.loc
1 parent5209c0b commit0c9d844

File tree

7 files changed

+784
-1137
lines changed

7 files changed

+784
-1137
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp