Re: Syntax for partitioning

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Syntax for partitioning
Дата
Msg-id 15952.1258699899@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Syntax for partitioning  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> 2) I would prefer that you apply sizeof on the variable, not on the
> type.  That way, the expression is independent of any type changes of
> the variable, and can be reviewed without having to scroll around for
> the variable definition.

FWIW, I think the general project style has been the other way.
Yes, it means you write the type name three times not once, but
the other side of that coin is that it makes it more obvious what
is happening (and gives you an extra chance to realize that the
type you wrote is wrong ...)
        regards, tom lane


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Listen / Notify - what to do when the queue is full
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Summary and Plan for Hot Standby