aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/acl.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-04-23 15:38:04 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-04-23 15:38:04 -0400
commit3436c5e28374d4e0587634fda09faf4a38a9d848 (patch)
treebaec4b76f1739d9672a3a8e6d7d934735fc85822 /src/backend/utils/adt/acl.c
parentee88ef55dbacfca15ad425e849280669e3d6ee4d (diff)
downloadpostgresql-3436c5e28374d4e0587634fda09faf4a38a9d848.tar.gz
postgresql-3436c5e28374d4e0587634fda09faf4a38a9d848.zip
Remove ACLDEBUG #define and associated code.
In the footsteps of aaf069aa3, remove ACLDEBUG, which was the only other remaining undocumented symbol in pg_config_manual.h. The fact that nobody had bothered to document it in seventeen years is a good clue to its usefulness. In practice, none of the tracing logic it enabled would be of any value without additional effort. Discussion: https://postgr.es/m/6631.1587565046@sss.pgh.pa.us
Diffstat (limited to 'src/backend/utils/adt/acl.c')
-rw-r--r--src/backend/utils/adt/acl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/backend/utils/adt/acl.c b/src/backend/utils/adt/acl.c
index bce1f1e0b16..de3f49637e2 100644
--- a/src/backend/utils/adt/acl.c
+++ b/src/backend/utils/adt/acl.c
@@ -246,9 +246,6 @@ aclparse(const char *s, AclItem *aip)
Assert(s && aip);
-#ifdef ACLDEBUG
- elog(LOG, "aclparse: input = \"%s\"", s);
-#endif
s = getid(s, name);
if (*s != '=')
{
@@ -358,11 +355,6 @@ aclparse(const char *s, AclItem *aip)
ACLITEM_SET_PRIVS_GOPTIONS(*aip, privs, goption);
-#ifdef ACLDEBUG
- elog(LOG, "aclparse: correctly read [%u %x %x]",
- aip->ai_grantee, privs, goption);
-#endif
-
return s;
}