| From: | Ian Lawrence Barwick <barwick(at)gmail(dot)com> |
|---|---|
| To: | Jim Jones <jim(dot)jones(at)uni-muenster(dot)de> |
| Cc: | Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: [PATCH] Add pg_get_event_trigger_ddl() function |
| Date: | 2026-07-31 00:58:02 |
| Message-ID: | CAB8KJ=hhrJuViPfC=RR8+Zt8n9mC1xhdO9EJg4kz7WAD-KZL_w@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
2026年7月23日(木) 19:32 Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>:
>
> On 22/07/2026 08:14, Zsolt Parragi wrote:
> >> That did cross my mind, but while "enabled" feels more natural grammatically,
> >> "enable" corresponds to the "ENABLE" clause which is to be emitted (or omitted).
> >> Except when it's "DISABLE"... I can't think of any better phrasing
> >> which is reasonably
> >> short and conveys the meaning "emit the clause which indicates the trigger is to
> >> be disabled or enabled, and if the latter in what context".
> >
> > Yeah, I agree with this reasoning, I wasn't even sure to mention this
> > or not. I only did because the ALTER EVENT TRIGGER documentation also
> > mentions "disabled", so there's some precedent of using that form.
> >
> > Keeping it "enable" is fine with me.
> >
> >
>
> Since there seems to be a consensus among all reviewers I'll mark the CF
> entry as ready for committer.
Thanks!
Attaching an updated patch version which uses DatumGetArrayTypePCopy()
instead of DatumGetArrayTypeP() (as pointed out in 1f108fc02).
Regards
Ian Barwick
| Attachment | Content-Type | Size |
|---|---|---|
| v5-0001-Add-pg_get_event_trigger_ddl-function.patch | text/x-patch | 19.8 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Xuneng Zhou | 2026-07-31 00:58:53 | Re: Implement waiting for wal lsn replay: reloaded |
| Previous Message | Tom Lane | 2026-07-31 00:52:46 | Re: Fix "unexpected logical decoding status change" error; from concurrent logical decoding activation |