Re: DEFAULT of domain ignored in plpgsql (8.4.1)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DEFAULT of domain ignored in plpgsql (8.4.1)
Дата
Msg-id 19780.1258760855@sss.pgh.pa.us
обсуждение исходный текст
Ответ на DEFAULT of domain ignored in plpgsql (8.4.1)  ("Florian G. Pflug" <fgp@phlo.org>)
Ответы Re: DEFAULT of domain ignored in plpgsql (8.4.1)
Список pgsql-hackers
"Florian G. Pflug" <fgp@phlo.org> writes:
> It seems that pl/pgsql ignores the DEFAULT value of domains for local
> variables.

The plpgsql documentation seems entirely clear on this:
The DEFAULT clause, if given, specifies the initial value assigned tothe variable when the block is entered. If the
DEFAULTclause is notgiven then the variable is initialized to the SQL null value.
 
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Partitioning option for COPY
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] ecpg & 8.3 -> 8.4 migration