A Question about InvokeObjectPostAlterHook
Legs Mansion <1027644833@qq.com>
From: Legs Mansion <1027644833@qq.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-04-18T01:51:30Z
Lists: pgsql-hackers
Recently, I ran into a problem, InvokeObjectPostAlterHook was implemented for sepgsql, sepgsql use it to determine whether to check permissions during certain operations. But InvokeObjectPostAlterHook doesn't handle all of the alter's behavior, at least the table is not controlled. e.g., ALTER TABLE... ENABLE/DISABLE ROW LEVEL SECURITY,ALTER TABLE ... DISABLE TRIGGER, GRANT and REVOKE and so on. Whether InvokeObjectPostAlterHook is not fully controlled? it's a bug? 发自我的iPhone
Commits
-
Add OAT hook calls for more subcommands of ALTER TABLE
- 352ea3acf8a2 17.0 landed