1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-31 17:02:12 +03:00
Files
postgres/src/backend/commands
Fujii Masao 928e755d22 Make inherited TRUNCATE perform access permission checks on parent table only.
Previously, TRUNCATE command through a parent table checked the
permissions on not only the parent table but also the children tables
inherited from it. This was a bug and inherited queries should perform
access permission checks on the parent table only. This commit fixes
that bug.

Back-patch to all supported branches.

Author: Amit Langote
Reviewed-by: Fujii Masao
Discussion: https://postgr.es/m/CAHGQGwFHdSvifhJE+-GSNqUHSfbiKxaeQQ7HGcYz6SC2n_oDcg@mail.gmail.com
2020-01-31 00:45:39 +09:00
..
2016-06-09 18:02:36 -04:00
2017-02-06 11:34:15 +02:00
2018-07-18 16:20:18 +03:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-06-09 18:02:36 -04:00
2017-02-06 11:34:15 +02:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2017-02-06 11:34:15 +02:00
2016-01-02 13:33:40 -05:00
2016-03-23 23:01:35 -03:00
2016-06-09 18:02:36 -04:00
2016-06-09 18:02:36 -04:00
2016-01-02 13:33:40 -05:00
2016-06-09 18:02:36 -04:00
2017-06-04 11:41:16 -04:00