Apr 2019

2 commits
Switch TAP tests of pg_rewind to use non-superuser role, take two
14 Apr 2019Michael Paquiermaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #10 of 1 reviewer saw the final version

The commit preserves the role creation, four function grants, and connection-string change from #1, with revised comments. It additionally extends PostgresNode::init with auth_extra and passes --create-role rewind_user from RewindTest.pm to configure authentication for Windows SSPI.

  • Magnus Hagandersaw an earlier versiontrailerMagnus supported testing explicit non-superuser permissions and hardcoding the role in RewindTest.pm #2, before the additional authentication setup appeared.
Switch TAP tests of pg_rewind to use a role with minimal permissions
12 Apr 2019Michael Paquiermaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #11 of 1 reviewer saw the final version

Both executable hunks in src/bin/pg_rewind/t/RewindTest.pm match #1; only the explanatory comments were reworded. Michael explicitly confirmed committing with comment edits #3.

  • Magnus Hagandersaw the final versiontrailerMagnus endorsed testing the restricted role and keeping its selection hardcoded in RewindTest.pm #2, and only comment edits followed.

Credits across 2 commits

Author
Michael Paquier2
Reviewer
Magnus Hagander2
Committer
Michael Paquier2