diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2024-03-21 23:31:57 +0100 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2024-03-21 23:31:57 +0100 |
commit | 5863bacb87c1e6cd1a322c9c4a5a861b27768379 (patch) | |
tree | ad434288c24fa8cb594656f8484ca6133c6e0567 /contrib/postgres_fdw/postgres_fdw.c | |
parent | e6c4e01bf4405ea779ec0b942d7eaa81e18423e1 (diff) | |
download | postgresql-5863bacb87c1e6cd1a322c9c4a5a861b27768379.tar.gz postgresql-5863bacb87c1e6cd1a322c9c4a5a861b27768379.zip |
Fix dumping role comments when using --no-role-passwords
Commit 9a83d56b38c added support for allowing pg_dumpall to dump
roles without including passwords, which accidentally made dumps
omit COMMENTs on roles. This fixes it by using pg_authid to get
the comment.
Backpatch to all supported versions. Patch simultaneously written
independently by Álvaro and myself.
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Author: Daniel Gustafsson <daniel@yesql.se>
Reported-by: Bartosz Chroł <bartosz.chrol@handen.pl>
Discussion: https://postgr.es/m/AS8P194MB1271CDA0ADCA7B75FCD8E767F7332@AS8P194MB1271.EURP194.PROD.OUTLOOK.COM
Discussion: https://postgr.es/m/CAEP4nAz9V4H41_4ESJd1Gf0v%3DdevkqO1%3Dpo91jUw-GJSx8Hxqg%40mail.gmail.com
Backpatch-through: v12
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions