aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/dumputils.h
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2021-06-28 18:34:55 -0700
committerNoah Misch <noah@leadboat.com>2021-06-28 18:34:55 -0700
commita7a7be1f2fa6b9f0f48e69f12256d8f588af729b (patch)
treee99220900982ed7ffa06985ddbcbf1a125aad926 /src/bin/pg_dump/dumputils.h
parent14b2ffaf7ffdd199937e8bcba8b459da5491bcb6 (diff)
downloadpostgresql-a7a7be1f2fa6b9f0f48e69f12256d8f588af729b.tar.gz
postgresql-a7a7be1f2fa6b9f0f48e69f12256d8f588af729b.zip
Dump public schema ownership and security labels.
As a side effect, this corrects dumps of public schema ACLs in databases where the DBA dropped and recreated that schema. Reviewed by Asif Rehman. Discussion: https://postgr.es/m/20201229134924.GA1431748@rfd.leadboat.com
Diffstat (limited to 'src/bin/pg_dump/dumputils.h')
-rw-r--r--src/bin/pg_dump/dumputils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_dump/dumputils.h b/src/bin/pg_dump/dumputils.h
index 6e97da7487e..f5465f19aee 100644
--- a/src/bin/pg_dump/dumputils.h
+++ b/src/bin/pg_dump/dumputils.h
@@ -54,6 +54,7 @@ extern void emitShSecLabels(PGconn *conn, PGresult *res,
extern void buildACLQueries(PQExpBuffer acl_subquery, PQExpBuffer racl_subquery,
PQExpBuffer init_acl_subquery, PQExpBuffer init_racl_subquery,
const char *acl_column, const char *acl_owner,
+ const char *initprivs_expr,
const char *obj_kind, bool binary_upgrade);
extern bool variable_is_guc_list_quote(const char *name);