- Notifications
You must be signed in to change notification settings - Fork5
Commita912a27
committed
Creator of a range type must have permission to call support functions.
Since range types can be created by non-superusers, we need to considertheir permissions. Ideally we'd check this when the type is used, notwhen it's created, but that seems like much more trouble than it's worth.The existing restriction that the support functions be immutable alreadyprevents most cases where an unauthorized call to a function might bethought a security issue, and the fact that the user has no access tothe results of the system's calls to subtype_diff closes off the otherplausible reason for concern. So this check is basically pro-forma,but let's make it anyway.1 parent74c1723 commita912a27
1 file changed
+12
-0
lines changedLines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1853 | 1853 |
| |
1854 | 1854 |
| |
1855 | 1855 |
| |
| 1856 | + | |
1856 | 1857 |
| |
1857 | 1858 |
| |
1858 | 1859 |
| |
| |||
1880 | 1881 |
| |
1881 | 1882 |
| |
1882 | 1883 |
| |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
1883 | 1889 |
| |
1884 | 1890 |
| |
1885 | 1891 |
| |
| |||
1888 | 1894 |
| |
1889 | 1895 |
| |
1890 | 1896 |
| |
| 1897 | + | |
1891 | 1898 |
| |
1892 | 1899 |
| |
1893 | 1900 |
| |
| |||
1916 | 1923 |
| |
1917 | 1924 |
| |
1918 | 1925 |
| |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
1919 | 1931 |
| |
1920 | 1932 |
| |
1921 | 1933 |
| |
|
0 commit comments
Comments
(0)