Commit 681cca8
committed
Blind attempt to fix SSPI-auth case in 010_dump_connstr.pl.
Up to now, pg_regress --config-auth had a hard-wired assumption
that the target cluster uses the default bootstrap superuser name.
pg_dump's 010_dump_connstr.pl TAP test uses non-default superuser
names, and was klugily getting around the restriction by listing
the desired superuser name as a role to "create". This is pretty
confusing (or at least, it confused me). Let's make it clearer by
allowing --config-auth mode to be told the bootstrap superuser name.
Repurpose the existing --user switch for that, since it has no
other function in --config-auth mode.
Per buildfarm. I don't have an environment at hand in which I can
test this fix, but the buildfarm should soon show if it works.
Discussion: https://postgr.es/m/3142.1561840611@sss.pgh.pa.us1 parent c91504b commit 681cca8
File tree
2 files changed
+33
-20
lines changed- src
- bin/pg_dump/t
- test/regress
2 files changed
+33
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
184 | | - | |
185 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
| |||
213 | 215 | | |
214 | 216 | | |
215 | 217 | | |
216 | | - | |
217 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
218 | 221 | | |
219 | 222 | | |
220 | 223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
968 | 971 | | |
969 | 972 | | |
970 | | - | |
| 973 | + | |
971 | 974 | | |
972 | 975 | | |
973 | 976 | | |
974 | | - | |
975 | 977 | | |
976 | 978 | | |
977 | 979 | | |
| |||
980 | 982 | | |
981 | 983 | | |
982 | 984 | | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | | - | |
| 985 | + | |
988 | 986 | | |
989 | | - | |
990 | | - | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
991 | 990 | | |
992 | | - | |
993 | | - | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
994 | 1004 | | |
995 | 1005 | | |
996 | 1006 | | |
| |||
1067 | 1077 | | |
1068 | 1078 | | |
1069 | 1079 | | |
1070 | | - | |
| 1080 | + | |
1071 | 1081 | | |
1072 | 1082 | | |
1073 | 1083 | | |
| |||
2227 | 2237 | | |
2228 | 2238 | | |
2229 | 2239 | | |
2230 | | - | |
| 2240 | + | |
2231 | 2241 | | |
2232 | 2242 | | |
2233 | 2243 | | |
| |||
2354 | 2364 | | |
2355 | 2365 | | |
2356 | 2366 | | |
2357 | | - | |
| 2367 | + | |
2358 | 2368 | | |
2359 | 2369 | | |
2360 | 2370 | | |
| |||
0 commit comments