Re: int2[] vs int2vector in pg_catalog?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: int2[] vs int2vector in pg_catalog?
Дата
Msg-id 4246.1080591814@sss.pgh.pa.us
обсуждение исходный текст
Ответ на int2[] vs int2vector in pg_catalog?  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.fr> writes:
> I'm wondering for the rationnal of the types used in various tables in
> pg_catalog (v 7.4.2) so as to represent the very same thing:

History and backwards compatibility, mostly.

From the standpoint of the backend I don't think there is any
fundamental reason why we couldn't change pg_index.indkey and indclass
into varlena arrays, but I'd be worried about breaking existing
client-side code that looks at those columns.  In particular the
question of whether indexing starts at 0 or 1 would be nasty.
        regards, tom lane


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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: Increasing security in a shared environment ...
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Increasing security in a shared environment ...