]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix typo in pg_dumpall role comments fix
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 22 Mar 2024 00:01:30 +0000 (01:01 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 22 Mar 2024 00:01:30 +0000 (01:01 +0100)
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.

src/bin/pg_dump/pg_dumpall.c

index 90cc12426d7b436c8ce847f6fb31ab41800e62f3..27093220ab9292ee7cf6a7ffc351d9a3e4991869 100644 (file)
@@ -786,7 +786,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);