Re: Creating trigger with optional arg?

Поиск
Список
Период
Сортировка
От Wells Oliver
Тема Re: Creating trigger with optional arg?
Дата
Msg-id CAOC+FBV0sVoLSXf9PmJO2ukX2txyJwOskT5ckj0zUPKv_V9z6A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Creating trigger with optional arg?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-admin
 I think this is a little different given I'm using the array TG_ARGV and not defined parameters in the signature though, correct?

On Wed, Jul 22, 2020 at 9:59 AM David G. Johnston <david.g.johnston@gmail.com> wrote:
On Wed, Jul 22, 2020 at 9:49 AM Wells Oliver <wells.oliver@gmail.com> wrote:
Is it possible to have a variable number of elements in TG_ARGV in a trigger?


see: default_expr

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

David J.



--

В списке pgsql-admin по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Creating trigger with optional arg?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: More efficient access of JSON array elements?