From: @星之夜火@ <1027644833@qq.com>
To: pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: A Question about InvokeObjectPostAlterHook
Date: Mon, 17 Apr 2023 21:00:40 +0800
Message-ID: <tencent_399C327B632902A70517032C6923C11E1C08@qq.com> (raw)
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?
@星之夜火@
1027644833@qq.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: 1027644833@qq.com, pgsql-admin@lists.postgresql.org
Subject: Re: A Question about InvokeObjectPostAlterHook
In-Reply-To: <tencent_399C327B632902A70517032C6923C11E1C08@qq.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox