| Committer | Fix permission-checking bug reported by Tim Burgess 10-Feb-03 (this time for sure...). Rather than relying on the query context of a rangetable entry to identify what permissions it wants checked, store a full AclMode mask in each RTE, and check exactly those bits. This allows an RTE specifying, say, INSERT privilege on a view to be copied into a derived UPDATE query without changing meaning. Per recent discussion thread. initdb forced due to change of stored rule representation. cfd7fb7e | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | No linked thread | Jan 14, 2004 |
| Committer | pg_settings should have UPDATE privilege allowed to public. (Can't force initdb for this in 7.4 branch, but we can at least see to it that post-7.4.2 installations will get it right.) 91d4f280 | REL7_4_STABLE7.4.2 | No linked thread | Jan 14, 2004 |
| Committer | pg_settings should have UPDATE privilege allowed to public. d505f302 | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | No linked thread | Jan 14, 2004 |
| CommitterBackported | The no-updates-to-system-catalogs-unless-usecatupd restriction should not apply to system views. It never mattered before 7.4, but it does now. 7562103f | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | No linked thread | Jan 14, 2004 |
| CommitterBackported | Revert ill-starred change of 13-Feb-02: it appeared to fix a problem of incorrect permissions checking, but in fact disabled most all permissions checks for view updates. This corrects problems reported by Sergey Yatskevich among others, at the cost of re-introducing the problem previously reported by Tim Burgess. However, since we'd lived with that problem for quite awhile without knowing it, we can live with it awhile longer until a proper fix can be made in 7.5. 303a257b | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | No linked thread | Jan 14, 2004 |