Re: dynamic plpgsql question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dynamic plpgsql question
Дата
Msg-id 8844.1166028846@sss.pgh.pa.us
обсуждение исходный текст
Ответ на dynamic plpgsql question  (Marc Evans <Marc@SoftwareHackery.Com>)
Список pgsql-general
Marc Evans <Marc@SoftwareHackery.Com> writes:
> In the trigger, TG_ARGV[0] is the name of a column that I want to
> evaluate.

This is effectively impossible in plpgsql, because it's a statically
typed language --- it wants to know the type of every expression in
advance, and so such a thing couldn't work.  Consider using one of the
other PLs instead.

            regards, tom lane

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

Предыдущее
От: David Goodenough
Дата:
Сообщение: MySQL drops support for most distributions
Следующее
От: Marc Evans
Дата:
Сообщение: Re: dynamic plpgsql question