Re: column ordering, was Re: [PATCHES] Enums patch v2

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas ADI SD
Тема Re: column ordering, was Re: [PATCHES] Enums patch v2
Дата
Msg-id E1539E0ED7043848906A8FF995BDA57901A34E7A@m0143.s-mxs.net
обсуждение исходный текст
Ответ на Re: column ordering, was Re: [PATCHES] Enums patch v2  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: column ordering, was Re: [PATCHES] Enums patch v2  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
> I'm not sure how much you can do with typing. Things like heap_getattr
> are macros, and thus untyped. Most places use attr as an index to an
> array, which also can't be type checked.
>
> If you switched everything over to inline functions you might
> get it to
> work, but that's about it.
>
> IMHO the best solution is to offset the logical numbers by some
> constant...

Um, surely you meant "offset the physical numbers". Imho the logical
numbers
need to stay 1-n, because those numbers are used way more often and are
more user visible than the physical.

Andreas


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

Предыдущее
От: Matthew O'Connor
Дата:
Сообщение: Re: Tuning single row operations
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: Tuning single row operations