From: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: Fri, 22 Mar 2024 00:01:30 +0000 (+0100)
Subject: Fix typo in pg_dumpall role comments fix
X-Git-Tag: REL_14_12~47
X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=6ebd4372550a08c286ad08da4e39c6571bb07e10;p=postgresql.git

Fix typo in pg_dumpall role comments fix

Some last minute polish of the patch managed to break the SQL
query for extracting the role comments due to fat-fingering.

Per the buildfarm Xversion tests.
---

diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c
index 23d42060cdd..cc96caa0309 100644
--- a/src/bin/pg_dump/pg_dumpall.c
+++ b/src/bin/pg_dump/pg_dumpall.c
@@ -792,7 +792,7 @@ dumpRoles(PGconn *conn)
 						  "rolcanlogin, rolconnlimit, rolpassword, "
 						  "rolvaliduntil, rolreplication, "
 						  "false as rolbypassrls, "
-						  "pg_catalog.shobj_description(oid, pg_authid') as rolcomment, "
+						  "pg_catalog.shobj_description(oid, 'pg_authid') as rolcomment, "
 						  "rolname = current_user AS is_current_user "
 						  "FROM %s "
 						  "ORDER BY 2", role_catalog);