- Notifications
You must be signed in to change notification settings - Fork4.9k
Commite3f1c24
committed
Fix crasher bugs in previous commit
ALTER DEFAULT PRIVILEGES was trying to decode the list of roles in theFOR clause as a list of names rather than of RoleSpecs; and the INclause in CREATE ROLE was doing the same thing. This was evidenced bycrashes on some buildfarm machines, though on my platform this doesn'tcause a failure by mere chance; I can reproduce the failures only byadding some padding in struct RoleSpecs.Fix by dereferencing those lists as being of RoleSpecs, not stringValues.1 parent31eae60 commite3f1c24
2 files changed
+16
-12
lines changedLines changed: 10 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
858 | 858 |
| |
859 | 859 |
| |
860 | 860 |
| |
861 |
| - | |
| 861 | + | |
862 | 862 |
| |
863 |
| - | |
| 863 | + | |
864 | 864 |
| |
865 | 865 |
| |
866 | 866 |
| |
| |||
880 | 880 |
| |
881 | 881 |
| |
882 | 882 |
| |
883 |
| - | |
| 883 | + | |
884 | 884 |
| |
885 | 885 |
| |
886 | 886 |
| |
887 |
| - | |
| 887 | + | |
888 | 888 |
| |
889 | 889 |
| |
890 | 890 |
| |
891 | 891 |
| |
892 | 892 |
| |
893 | 893 |
| |
894 | 894 |
| |
895 |
| - | |
896 |
| - | |
| 895 | + | |
| 896 | + | |
897 | 897 |
| |
898 | 898 |
| |
899 | 899 |
| |
| |||
996 | 996 |
| |
997 | 997 |
| |
998 | 998 |
| |
999 |
| - | |
| 999 | + | |
1000 | 1000 |
| |
1001 | 1001 |
| |
1002 | 1002 |
| |
| |||
1008 | 1008 |
| |
1009 | 1009 |
| |
1010 | 1010 |
| |
1011 |
| - | |
| 1011 | + | |
1012 | 1012 |
| |
1013 |
| - | |
| 1013 | + | |
1014 | 1014 |
| |
1015 |
| - | |
| 1015 | + | |
1016 | 1016 |
| |
1017 | 1017 |
| |
1018 | 1018 |
| |
|
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
429 | 429 |
| |
430 | 430 |
| |
431 | 431 |
| |
432 |
| - | |
433 |
| - | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
434 | 436 |
| |
435 | 437 |
| |
436 | 438 |
| |
437 | 439 |
| |
438 | 440 |
| |
| 441 | + | |
| 442 | + | |
439 | 443 |
| |
440 | 444 |
| |
441 | 445 |
| |
|
0 commit comments
Comments
(0)