- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit2a679ae
committed
Fix regression tests conflict in3ca43db
3ca43db adds regression tests with permission checks. The conflict hasbeen observed at buildfarm member piculet.This commit fixes the conflict in the following way.1. partition_split.sql now uses role names regress_partition_split_alice and regress_partition_split_bob (it mistakenly used regress_partition_merge_alice and regress_partition_merge_bob before).2. Permissions on schemas partitions_merge_schema and partition_split_schema are granted to corresponding roles. Before, the lack of permissions led to the creation of objects in the public schema and potential conflict.Reported-by: Daniel GustafssonDiscussion:https://postgr.es/m/03A07EF6-98D2-419B-A3AA-A111C64CC207%40yesql.se1 parent6f8bb7c commit2a679ae
File tree
4 files changed
+38
-20
lines changed- src/test/regress
- expected
- sql
4 files changed
+38
-20
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
883 | 883 |
| |
884 | 884 |
| |
885 | 885 |
| |
| 886 | + | |
| 887 | + | |
886 | 888 |
| |
887 | 889 |
| |
888 | 890 |
| |
| |||
906 | 908 |
| |
907 | 909 |
| |
908 | 910 |
| |
| 911 | + | |
| 912 | + | |
909 | 913 |
| |
910 | 914 |
| |
911 | 915 |
| |
|
Lines changed: 15 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1516 | 1516 |
| |
1517 | 1517 |
| |
1518 | 1518 |
| |
1519 |
| - | |
1520 |
| - | |
1521 |
| - | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
1522 | 1524 |
| |
1523 | 1525 |
| |
1524 |
| - | |
| 1526 | + | |
1525 | 1527 |
| |
1526 | 1528 |
| |
1527 | 1529 |
| |
1528 | 1530 |
| |
1529 | 1531 |
| |
1530 |
| - | |
1531 |
| - | |
| 1532 | + | |
| 1533 | + | |
1532 | 1534 |
| |
1533 | 1535 |
| |
1534 | 1536 |
| |
1535 | 1537 |
| |
1536 | 1538 |
| |
1537 |
| - | |
1538 |
| - | |
| 1539 | + | |
| 1540 | + | |
1539 | 1541 |
| |
1540 | 1542 |
| |
1541 | 1543 |
| |
1542 | 1544 |
| |
1543 | 1545 |
| |
1544 |
| - | |
1545 |
| - | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
1546 | 1551 |
| |
1547 | 1552 |
| |
1548 | 1553 |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
553 | 553 |
| |
554 | 554 |
| |
555 | 555 |
| |
| 556 | + | |
| 557 | + | |
556 | 558 |
| |
557 | 559 |
| |
558 | 560 |
| |
| |||
579 | 581 |
| |
580 | 582 |
| |
581 | 583 |
| |
| 584 | + | |
| 585 | + | |
582 | 586 |
| |
583 | 587 |
| |
584 | 588 |
| |
|
Lines changed: 15 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
896 | 896 |
| |
897 | 897 |
| |
898 | 898 |
| |
899 |
| - | |
900 |
| - | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
901 | 903 |
| |
902 |
| - | |
| 904 | + | |
903 | 905 |
| |
904 | 906 |
| |
905 | 907 |
| |
906 |
| - | |
| 908 | + | |
907 | 909 |
| |
908 | 910 |
| |
909 | 911 |
| |
910 | 912 |
| |
911 | 913 |
| |
912 |
| - | |
913 |
| - | |
| 914 | + | |
| 915 | + | |
914 | 916 |
| |
915 | 917 |
| |
916 | 918 |
| |
917 | 919 |
| |
918 | 920 |
| |
919 |
| - | |
920 |
| - | |
| 921 | + | |
| 922 | + | |
921 | 923 |
| |
922 | 924 |
| |
923 | 925 |
| |
924 | 926 |
| |
925 | 927 |
| |
926 | 928 |
| |
927 |
| - | |
928 |
| - | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
929 | 933 |
| |
| 934 | + | |
930 | 935 |
| |
931 | 936 |
| |
932 | 937 |
| |
|
0 commit comments
Comments
(0)