| From: | Stephen Frost <sfrost(at)snowman(dot)net> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: In pg_dump, use a bitmap to represent what to include |
| Date: | 2016-04-07 01:45:51 |
| Message-ID: | E1anz15-0007pu-DL@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
In pg_dump, use a bitmap to represent what to include
pg_dump has historically used a simple boolean 'dump' value to indicate
if a given object should be included in the dump or not. Instead, use
a bitmap which breaks down the components of an object into their
distinct pieces and use that bitmap to only include the components
requested.
This does not include any behavioral change, but is in preperation for
the change to dump out just ACLs for objects in pg_catalog.
Reviews by Alexander Korotkov, Jose Luis Tallon
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/a9f0e8e5a2e779a888988cb64479a6723f668c84
Modified Files
--------------
src/bin/pg_dump/common.c | 2 +-
src/bin/pg_dump/pg_dump.c | 1502 ++++++++++++++++++++++++---------------------
src/bin/pg_dump/pg_dump.h | 14 +-
3 files changed, 833 insertions(+), 685 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2016-04-07 01:59:43 | Re: pgsql: Use GRANT system to manage access to sensitive functions |
| Previous Message | Magnus Hagander | 2016-04-06 16:41:46 | Re: pgsql: Implement backup API functions for non-exclusive backups |