Re: Allow database owners to CREATE EVENT TRIGGER

From: Steve Chavez <steve(at)supabase(dot)io>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Aleksander Alekseev <aleksander(at)timescale(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Allow database owners to CREATE EVENT TRIGGER
Date: 2025-04-21 04:02:47
Message-ID: CAGRrpzbQm9XxUGnfYedr7C+qBFNcqF822yMFJ_ham1+C=HhJWA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Also, this looks unconventional…
> EventTriggerCacheItem *item = (EventTriggerCacheItem*) lfirst_oid(lc);

Just noticed the mistake there, I would have expected a compilation error.
New patch attached with the following change:

EventTriggerCacheItem *item = lfirst(lc);

On Sun, 20 Apr 2025 at 22:55, Steve Chavez <steve(at)supabase(dot)io> wrote:

> Sorry, attached the output file.
>
>

Attachment Content-Type Size
0001-Allow-regular-users-to-create-event-triggers.patch text/x-patch 12.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2025-04-21 04:03:09 Re: [PATCH] Documentation: Fix minor grammatical and formatting issues
Previous Message Steve Chavez 2025-04-21 03:55:24 Re: Allow database owners to CREATE EVENT TRIGGER