Re: [HACKERS] BUG #2873: Function that returns an empty set

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [HACKERS] BUG #2873: Function that returns an empty set
Дата
Msg-id 25886.65.211.31.251.1168360040.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на Re: [HACKERS] BUG #2873: Function that returns an empty set with a 'not null' domain errors in 8.2 but not 8.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tom Lane wrote:

> This is closely related to the discussion a couple weeks ago about how
> a LEFT JOIN could produce nulls in an output column that was labeled as
> having a non-null-domain type.  We haven't figured out what is a sane
> behavior for that case, either.  I'm beginning to think that domains
> constrained not null are just fundamentally a bad idea.
>

I think we just expect left joins to produce nulls regardless of
constraints on the underlying cols, don't we? Concluding that not null in
domains is bad seems a bit drastic.

cheers

andrew



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

Предыдущее
От: "Kevin Macdonald"
Дата:
Сообщение: BUG #2875: pgAdmin III docs installed even if app is not
Следующее
От: "(GalaxyMaster)"
Дата:
Сообщение: Re: BUG #2870: incorrect man page for postgres