Skip to content

Honor --no-role-passwords when emitting PASSWORD - #69

Open
Smyatkin-Maxim wants to merge 2 commits into
REL_2_STABLEfrom
dump-profile-fix
Open

Honor --no-role-passwords when emitting PASSWORD#69
Smyatkin-Maxim wants to merge 2 commits into
REL_2_STABLEfrom
dump-profile-fix

Conversation

@Smyatkin-Maxim

Copy link
Copy Markdown

Otherwise we gonna get masks instead of passwords

Smyatkin-Maxim and others added 2 commits September 11, 2026 16:13
Emit PASSWORD in CREATE ROLE, and only emit the GPDB profile / pg_authid account-status UPDATE block when server_version >= 140000 and a profile exists. The old code always emitted that block (invalid against a GPDB6 source / Cloudberry target) and never dumped the password.

Co-authored-by: Cursor <cursoragent@cursor.com>
Otherwise we gonna get masks instead of passwords
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant