Fix incorrect function name reference
authorDavid Rowley <[email protected]>
Thu, 20 Apr 2023 22:46:08 +0000 (10:46 +1200)
committerDavid Rowley <[email protected]>
Thu, 20 Apr 2023 22:46:08 +0000 (10:46 +1200)
This function was renamed in 0c9d84427 but this comment wasn't updated.

Author: Alexander Lakhin
Discussion: https://postgr.es/m/699beab4-a6ca-92c9-f152-f559caf6dc25@gmail.com

src/backend/utils/adt/acl.c

index c5a6babccc260d32d96992dfe7b1c21d74fd3e45..729ebd86d1462b4e99a5911b34435a70c9eb31e7 100644 (file)
@@ -189,7 +189,7 @@ getid(const char *s, char *n, Node *escontext)
 /*
  * Write a role name at *p, adding double quotes if needed.
  * There must be at least (2*NAMEDATALEN)+2 bytes available at *p.
- * This needs to be kept in sync with copyAclUserName in pg_dump/dumputils.c
+ * This needs to be kept in sync with dequoteAclUserName in pg_dump/dumputils.c
  */
 static void
 putid(char *p, const char *s)