Re: BUG #5053: domain constraints still leak

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5053: domain constraints still leak
Дата
Msg-id 15993.1252938154@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #5053: domain constraints still leak  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: BUG #5053: domain constraints still leak  (Sam Mason <sam@samason.me.uk>)
Re: BUG #5053: domain constraints still leak  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-bugs
Robert Haas <robertmhaas@gmail.com> writes:
> It seems like regardless of this discussion you oughtn't to be able to
> store a NULL into that table column.  But maybe I'm just confused.

The system is relying on the not-unreasonable assumption that if it
extracts a column of type X from someplace, what it has is a valid value
of type X.  Depending on what we decide about the whole composite-null
mess, maybe we will be forced to abandon that assumption ... but I'm
sure not going to do so until my back is to the wall.

            regards, tom lane

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

Предыдущее
От: fous velkej
Дата:
Сообщение: Re: ERROR: invalid page header in block 502758 of relation base/16388/16403
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5054: PDO -> Query returns "" from Boolean type field, if it has false value.