Commit 0cda953
155464: sql: set rolreplication in pg_authid and pg_roles r=shghasemi a=shghasemi
Previously, rolreplication column from pg_authid and pg_roles was always set to false, therefore, it did not show whether or not the role has replication privilege. This change sets rolreplication to true if the user has at least one of REPLICATION, REPLICATIONSOURCE, or REPLICATIONDEST privileges. This change will improve the users ability to do introspection.
Epic: None
Fixes: #147507
Release note (bug fix): Populate rolreplication in pg_catalog.pg_roles and pg_catalog.pg_authid to indicate if the role has at least one of REPLICATION, REPLICATIONSOURCE, or REPLICATIONDEST privileges.
155608: dev-inf: Fix YAML syntax error in GH action r=rickystewart a=ajstorm
Changed Stage 3 output format from using colon to dash to avoid
YAML parsing error. The colon in 'STAGE3_RESULT: POTENTIAL_BUG_CONFIRMED'
was causing YAML to interpret it as a mapping instead of a string.
Changed to: 'STAGE3_RESULT - POTENTIAL_BUG_CONFIRMED'
This syntax error was preventing the entire workflow from running.
Epic: none
Release note: none
Co-authored-by: Shadi Ghasemitaheri <shadi.ghasemitaheri@cockroachlabs.com>
Co-authored-by: Adam Storm <storm@cockroachlabs.com>
File tree
4 files changed
+90
-13
lines changed- .github/workflows
- pkg
- cli/clisqlshell/testdata
- sql
- logictest/testdata/logic_test
4 files changed
+90
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
| 177 | + | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1966 | 1966 | | |
1967 | 1967 | | |
1968 | 1968 | | |
1969 | | - | |
1970 | | - | |
1971 | | - | |
1972 | | - | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
1973 | 1973 | | |
1974 | 1974 | | |
1975 | 1975 | | |
| |||
2008 | 2008 | | |
2009 | 2009 | | |
2010 | 2010 | | |
2011 | | - | |
| 2011 | + | |
2012 | 2012 | | |
2013 | 2013 | | |
2014 | 2014 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2800 | 2800 | | |
2801 | 2801 | | |
2802 | 2802 | | |
2803 | | - | |
2804 | | - | |
2805 | | - | |
| 2803 | + | |
| 2804 | + | |
| 2805 | + | |
2806 | 2806 | | |
2807 | 2807 | | |
2808 | 2808 | | |
| |||
2836 | 2836 | | |
2837 | 2837 | | |
2838 | 2838 | | |
| 2839 | + | |
| 2840 | + | |
| 2841 | + | |
| 2842 | + | |
| 2843 | + | |
| 2844 | + | |
| 2845 | + | |
| 2846 | + | |
| 2847 | + | |
| 2848 | + | |
| 2849 | + | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
| 2881 | + | |
| 2882 | + | |
| 2883 | + | |
| 2884 | + | |
| 2885 | + | |
2839 | 2886 | | |
2840 | 2887 | | |
2841 | 2888 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
610 | 630 | | |
611 | 631 | | |
612 | 632 | | |
| |||
649 | 669 | | |
650 | 670 | | |
651 | 671 | | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
652 | 677 | | |
653 | 678 | | |
654 | 679 | | |
| |||
657 | 682 | | |
658 | 683 | | |
659 | 684 | | |
660 | | - | |
| 685 | + | |
661 | 686 | | |
662 | 687 | | |
663 | 688 | | |
| |||
3022 | 3047 | | |
3023 | 3048 | | |
3024 | 3049 | | |
| 3050 | + | |
| 3051 | + | |
| 3052 | + | |
| 3053 | + | |
| 3054 | + | |
3025 | 3055 | | |
3026 | 3056 | | |
3027 | 3057 | | |
| |||
3031 | 3061 | | |
3032 | 3062 | | |
3033 | 3063 | | |
3034 | | - | |
| 3064 | + | |
3035 | 3065 | | |
3036 | 3066 | | |
3037 | 3067 | | |
| |||
0 commit comments