Re: ALTER TABLE...ALTER COLUMN vs inheritance

Поиск
Список
Период
Сортировка
От Alex Hunsaker
Тема Re: ALTER TABLE...ALTER COLUMN vs inheritance
Дата
Msg-id 34d269d40911121439tec38a3fpd9014eff8e962f5@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ALTER TABLE...ALTER COLUMN vs inheritance  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ALTER TABLE...ALTER COLUMN vs inheritance
Список pgsql-hackers
On Thu, Nov 12, 2009 at 13:55, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> I'd go for the first of those, for sure.  Testing attnotnull is
> significantly cheaper than enforcing a generic constraint expression,
> and NOT NULL is a sufficiently common case to be worth worrying about
> optimizing it.

When I looked at doing this, I thought about just using check
constraints just for the book keeping and leaving attnotnull as it is.If would be easier, but it seemed quite ugly.


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Patch committers
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ALTER TABLE...ALTER COLUMN vs inheritance