Security definer function to alter a sequence

From: Sbob <sbob(at)quadratum-braccas(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Security definer function to alter a sequence
Date: 2025-02-11 21:53:27
Message-ID: 9b25ab25-5c2c-440a-8bc5-ee77105387ff@quadratum-braccas.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

All;

Can I create a security definer function to alter a sequence value? Or
is this considered DDL (and thus a security definer function os not
allowed to run it)?

Thanks in advance

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2025-02-11 21:57:26 Re: Security definer function to alter a sequence
Previous Message Janet Einhorn 2025-02-11 17:12:41 FW: Adding Postgres Repository on Red Hat 9 causes SELinux Warnings "SELinux is preventing /usr/bin/gpg from using the dac_override capability"