Re: Creating trigger with optional arg?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Creating trigger with optional arg?
Date: 2020-07-22 16:58:51
Message-ID: CAKFQuwYuYa_Nw7Swzrr6ETC9eDBBAd2PN8gkJ=HTz-PYBfYBhQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Jul 22, 2020 at 9:49 AM Wells Oliver <wells(dot)oliver(at)gmail(dot)com> wrote:

> Is it possible to have a variable number of elements in TG_ARGV in a
> trigger?
>

https://www.postgresql.org/docs/12/sql-createfunction.html

see: default_expr

I would expect it to work though I have not tried it myself.

David J.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Wells Oliver 2020-07-22 17:30:29 Re: Creating trigger with optional arg?
Previous Message Wells Oliver 2020-07-22 16:48:49 Creating trigger with optional arg?