summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorJoe Conway <mail@joeconway.com>2019-11-23 10:39:20 -0500
committerJoe Conway <mail@joeconway.com>2019-11-23 10:39:20 -0500
commitf7a2002e82cfc639d1b6df89012f5d6c623ad545 (patch)
tree413198fb0a564cda369f6090426113434bbbf711 /src/backend/access/gist/gistvalidate.c
parentd1c866e57f1156000a51ff7e26590984d32bab53 (diff)
downloadpostgresql-f7a2002e82cfc639d1b6df89012f5d6c623ad545.tar.gz
Add object TRUNCATE hook
All operations with acl permissions checks should have a corresponding hook so that, for example, mandatory access control (MAC) may be enforced by an extension. The command TRUNCATE is missing this hook, so add it. Patch by Yuli Khodorkovskiy with some editorialization by me. Based on the discussion not back-patched. A separate patch will exercise the hook in the sepgsql extension. Author: Yuli Khodorkovskiy Reviewed-by: Joe Conway Discussion: https://postgr.es/m/CAFL5wJcomybj1Xdw7qWmPJRpGuFukKgNrDb6uVBaCMgYS9dkaA%40mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions