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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Behaviour of rows containg not-null domains in plpgsql
Дата
Msg-id 5524.1203876518@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Behaviour of rows containg not-null domains in plpgsql  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> What seems worse is that it still fails even if you declare the domain 
> to have a default value.

Hmm, that seems like it could be a bug.  We don't currently consider
that a rowtype includes the parent table's defaults or constraints.
But if we are going to honor a domain's constraints then maybe the
domain's default has to float along with that.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: 8.3 / 8.2.6 restore comparison
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8.3 / 8.2.6 restore comparison