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

Commita9f0e8e

Browse files
committed
In pg_dump, use a bitmap to represent what to include
pg_dump has historically used a simple boolean 'dump' value to indicateif a given object should be included in the dump or not. Instead, usea bitmap which breaks down the components of an object into theirdistinct pieces and use that bitmap to only include the componentsrequested.This does not include any behavioral change, but is in preperation forthe change to dump out just ACLs for objects in pg_catalog.Reviews by Alexander Korotkov, Jose Luis Tallon
1 parent6c268df commita9f0e8e

File tree

3 files changed

+833
-685
lines changed

3 files changed

+833
-685
lines changed

‎src/bin/pg_dump/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ AssignDumpId(DumpableObject *dobj)
443443
dobj->dumpId=++lastDumpId;
444444
dobj->name=NULL;/* must be set later */
445445
dobj->namespace=NULL;/* may be set later */
446-
dobj->dump=true;/* default assumption */
446+
dobj->dump=DUMP_COMPONENT_ALL;/* default assumption */
447447
dobj->ext_member= false;/* default assumption */
448448
dobj->dependencies=NULL;
449449
dobj->nDeps=0;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp