Re: assign null value to a field in plpgsql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: assign null value to a field in plpgsql
Дата
Msg-id 17435.1180722165@sss.pgh.pa.us
обсуждение исходный текст
Ответ на assign null value to a field in plpgsql  ("David Monarchi" <david.e.monarchi@gmail.com>)
Список pgsql-novice
"David Monarchi" <david.e.monarchi@gmail.com> writes:
> I want to go through a series of checks to see if I should set a field to
> null in the adServerLoadRow.  I will not know in advance which fields I will
> need to check nor their data types.
> ...
> I'm constrained to use plpgsql,

You've been given an impossible set of constraints, because plpgsql is a
statically-typed language.  Use another PL.

            regards, tom lane

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

Предыдущее
От: "David Monarchi"
Дата:
Сообщение: assign null value to a field in plpgsql
Следующее
От: Brian Hurt
Дата:
Сообщение: How do I insert a record into a table?