summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut2017-01-26 20:38:13 +0000
committerPeter Eisentraut2017-01-26 20:38:13 +0000
commite630faacd8a0c998db105a7d3fca063eb29b0eea (patch)
treeb0d3d0a63d3e53e58ad7d06c1c2d307f4796634e /src
parentcdcad6b788a8651af2e48bf7d4160ae591e1f4d7 (diff)
Fill in no_priv_msg for publications and subscriptions
Even though these messages are not used yet, we should keep the list complete.
Diffstat (limited to 'src')
-rw-r--r--src/backend/catalog/aclchk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/backend/catalog/aclchk.c b/src/backend/catalog/aclchk.c
index a96bf692dfd..f4df6df10fa 100644
--- a/src/backend/catalog/aclchk.c
+++ b/src/backend/catalog/aclchk.c
@@ -3345,6 +3345,10 @@ static const char *const no_priv_msg[MAX_ACL_KIND] =
gettext_noop("permission denied for event trigger %s"),
/* ACL_KIND_EXTENSION */
gettext_noop("permission denied for extension %s"),
+ /* ACL_KIND_PUBLICATION */
+ gettext_noop("permission denied for publication %s"),
+ /* ACL_KIND_SUBSCRIPTION */
+ gettext_noop("permission denied for subscription %s"),
};
static const char *const not_owner_msg[MAX_ACL_KIND] =