Re: Passing an argument to a trigger function using tg_argv

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Passing an argument to a trigger function using tg_argv
Дата
Msg-id CAKFQuwZOpbdRkQomYzPaU2T4NGWqC0dD+jHJavQ3843VNJYb0w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Passing an argument to a trigger function using tg_argv  (Simon Connah <simon.n.connah@protonmail.com>)
Ответы Re: Passing an argument to a trigger function using tg_argv  (Simon Connah <simon.n.connah@protonmail.com>)
Список pgsql-novice

On Wednesday, March 31, 2021, Simon Connah <simon.n.connah@protonmail.com> wrote:
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐

Sorry if I am misunderstanding. I'm still pretty new to PostgreSQL but the column actually is a bigint (well technically a bigserial) which is why I am confused.




‘The arguments are literal string constants.“ 

A column reference is simply not possible since arguments can only be “literal string constants”.

David J.

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

Предыдущее
От: Simon Connah
Дата:
Сообщение: Re: Passing an argument to a trigger function using tg_argv
Следующее
От: Simon Connah
Дата:
Сообщение: Re: Passing an argument to a trigger function using tg_argv