Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7b7fa85

Browse files
Fix stop condition for dumping GRANT commands
Commitce6b672 changed dumping GRANT commands to ensure thatgrantors already have an ADMIN OPTION on the role for which itis granting permissions. Looping over the grants per role has astop condition on dumping the grant statements, but accidentallymissed updating the variable for the conditional check.Author: Andreas Scherbaum <ads@pgug.de>Co-authored-by: Artur Zakirov <zaartur@gmail.com>Discussion:https://postgr.es/m/de44299d-cd31-b41f-2c2a-161fa5e586a5@pgug.de
1 parent4def50e commit7b7fa85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/bin/pg_dump/pg_dumpall.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,7 @@ dumpRoleMembership(PGconn *conn)
10521052
PQfinish(conn);
10531053
exit_nicely(1);
10541054
}
1055+
prev_remaining=remaining;
10551056

10561057
/* Make one pass over the grants for this role. */
10571058
for (i=start;i<end;++i)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp