mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
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
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user