On Mon, Mar 8, 2021 at 4:24 AM Peter Wainaina <petwah17(at)gmail(dot)com> wrote:
> Hi
> i need help on how to restrict the table owner no to drop/truncate the
> table
>
Believe you are looking for Event Triggers.
https://www.postgresql.org/docs/12/event-trigger-example.html
-Greg