Re: Security definer function to alter a sequence

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Sbob <sbob(at)quadratum-braccas(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Security definer function to alter a sequence
Date: 2025-02-11 21:57:26
Message-ID: CAKFQuwb63K0c7MyCSO+Skf3k9+3EgW-1mZcsVd3A88=Stx4Gdg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Feb 11, 2025 at 2:53 PM Sbob <sbob(at)quadratum-braccas(dot)com> wrote:

>
> 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)?
>
>
What makes you think it being DDL makes any difference?

David J.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sbob 2025-02-11 22:57:14 Re: Security definer function to alter a sequence
Previous Message Sbob 2025-02-11 21:53:27 Security definer function to alter a sequence