Re: Behaviour of rows containg not-null domains in plpgsql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Behaviour of rows containg not-null domains in plpgsql
Дата
Msg-id 6353.1203880573@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Behaviour of rows containg not-null domains in plpgsql  ("Florian G. Pflug" <fgp@phlo.org>)
Ответы Re: Behaviour of rows containg not-null domains in plpgsql  ("Florian G. Pflug" <fgp@phlo.org>)
Список pgsql-hackers
"Florian G. Pflug" <fgp@phlo.org> writes:
> Plus, the fact that we don't support "default" specifications in
> pl/pgsql for row types turns this inconvenience into a major PITA,

You mean initialization expressions, not defaults, correct?  (I would
consider the latter to mean that whatever attrdef entries were attached
to the rowtype's parent table would be used implicitly.)

> Is there some difficulty in implementing row-type defaults, or is it
> just that nobody cared enough about them to do the work?

The second statement is certainly true, I don't know about the first.
Feel free to take a shot at it.
        regards, tom lane


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

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: Behaviour of rows containg not-null domains in plpgsql
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: Behaviour of rows containg not-null domains in plpgsql