Re: Row values

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Row values
Дата
Msg-id 15720.1088786892@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Row values  (Juan Jose Costello Levien <jcostello@datafull.com>)
Список pgsql-general
Juan Jose Costello Levien <jcostello@datafull.com> writes:
> I don't know if tgargs[] return the row values or the field names.

Neither --- it's the (fixed) arguments you used in the CREATE TRIGGER
command.  You'll need to do something involving extracting field values
from the tuple that is passed to the trigger, instead.

I'd suggest looking in the contrib/ modules for examples of triggers
written in C.

            regards, tom lane

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

Предыдущее
От: Juan Jose Costello Levien
Дата:
Сообщение: Re: Row values
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Row-level security--is it possible?