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