Re: [HACKERS] Changing oidvector length

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Changing oidvector length
Дата
Msg-id 7431.947550957@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Changing oidvector length  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] Changing oidvector length  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> We have the oidvector and int2vector length's set in pg_type.h.  Is
> there any way to make those values configurable from defines in
> config.h?

> If not, I will have to move the defines to postgres.h so people can not
> change them.   Maybe that is a better place for them anyway.

Actually, I suspect they should be in postgres_ext.h, which is where
NAMEDATALEN is.  All of these values are potentially visible to code
outside Postgres, so postgres_ext.h seems like the right place.

config.h would be appropriate for something you could tweak without
changing the external API of Postgres...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] oid8/int28
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Changing oidvector length