- Notifications
You must be signed in to change notification settings - Fork28
Commitd9f543e
committed
Switch TAP tests of pg_rewind to use non-superuser role, take two
Up to now the tests of pg_rewind have been using a superuser for all itstests (which is the default of many tests actually, and something thatought to be reviewed) when involving an online source server, still itis possible to use a non-superuser role to do that as long as this roleis granted permissions to execute all the source-side functions used forthe rewind. This is possible since v11, and was already documented asofbfc8068.PostgresNode::init is extended so as callers of this routine can addextra options to configure the authentication of a new node, which getsused by this commit, and allows the tests to work properly on Windowswhere SSPI is used.This will allow to catch up easily any change in pg_rewind if the toolbegins to use more backend-side functions, so as the propertiesintroduced by v11 are kept.Per suggestion from Peter Eisentraut.Author: Michael PaquierReviewed-by: Magnus HaganderDiscussion:https://postgr.es/m/20190411041336.GM2728@paquier.xyz1 parent9daefff commitd9f543e
2 files changed
+24
-2
lines changedLines changed: 22 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
132 |
| - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
133 | 138 |
| |
134 | 139 |
| |
135 | 140 |
| |
| |||
144 | 149 |
| |
145 | 150 |
| |
146 | 151 |
| |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
147 | 165 |
| |
148 | 166 |
| |
149 | 167 |
| |
| |||
207 | 225 |
| |
208 | 226 |
| |
209 | 227 |
| |
| 228 | + | |
| 229 | + | |
| 230 | + | |
210 | 231 |
| |
211 | 232 |
| |
212 | 233 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
441 | 441 |
| |
442 | 442 |
| |
443 | 443 |
| |
444 |
| - | |
| 444 | + | |
| 445 | + | |
445 | 446 |
| |
446 | 447 |
| |
447 | 448 |
| |
|
0 commit comments
Comments
(0)