projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be01c8c
)
Fix typo in pg_dumpall role comments fix
author
Daniel Gustafsson
<
[email protected]
>
Fri, 22 Mar 2024 00:01:30 +0000
(
01:01
+0100)
committer
Daniel Gustafsson
<
[email protected]
>
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
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_dumpall.c
b/src/bin/pg_dump/pg_dumpall.c
index 23d42060cdd5fd8c1d71fe41876e3b9c72ba07b3..cc96caa03097ce86d5712ea22d7f374cefecd9d4 100644
(file)
--- 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);