forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit944dc45
committed
Fix the public schema's permissions in a separate test script.
In the wake of commitb073c3c, it's necessary to grant createpermissions on the public schema to PUBLIC to get many of thecore regression test scripts to pass. That commit did so via thequick-n-dirty expedient of adding the GRANT to the tablespace test,which runs first. This is problematic for single-machinereplication testing, though. The least painful way to run theregression tests on such a setup is to skip the tablespace test,and that no longer works.To fix, let's invent a separate "test_setup" script to run first,and put the GRANT there. Revertb073c3c's changes tothe tablespace.source files.In the future it might be good to try to reduce coupling betweenthe various test scripts by having test_setup create widely-usedobjects, with the goal that most of the scripts could run afterhaving run only test_setup. That's going to take some effort,so this commit just addresses my immediate pain point.Discussion:https://postgr.es/m/1363170.1639763559@sss.pgh.pa.us1 parent3c6f8c0 commit944dc45
File tree
5 files changed
+12
-8
lines changed- src/test/regress
- expected
- input
- output
- sql
5 files changed
+12
-8
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + |
Lines changed: 1 addition & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
388 | 388 |
| |
389 | 389 |
| |
390 | 390 |
| |
391 |
| - | |
| 391 | + | |
392 | 392 |
| |
393 | 393 |
| |
394 | 394 |
| |
| |||
409 | 409 |
| |
410 | 410 |
| |
411 | 411 |
| |
412 |
| - | |
413 |
| - | |
414 |
| - |
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
908 | 908 |
| |
909 | 909 |
| |
910 | 910 |
| |
911 |
| - | |
| 911 | + | |
912 | 912 |
| |
913 | 913 |
| |
914 | 914 |
| |
| |||
934 | 934 |
| |
935 | 935 |
| |
936 | 936 |
| |
937 |
| - | |
938 |
| - |
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 |
| |
10 | 13 |
| |
11 | 14 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + |
0 commit comments
Comments
(0)