Revert commit 606f350de9.
Fujii Masao <fujii@postgresql.org>
Revert commit 606f350de9. This commit reverts the fix "Make inherited TRUNCATE perform access permission checks on parent table only" only in the back branches. It's not hard to imagine that there are some applications expecting the old behavior and the fix breaks their security. To avoid this compatibility problem, we decided to apply the fix only in HEAD and revert it in all supported back branches. Discussion: https://postgr.es/m/21015.1580400165@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/tablecmds.c | modified | +18 −49 |
| src/test/regress/expected/privileges.out | modified | +0 −21 |
| src/test/regress/sql/privileges.sql | modified | +0 −14 |
Discussion
- table partitioning and access privileges 25 messages · 2019-12-26 → 2020-02-18