Re: [HACKERS] Changing oidvector length

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Changing oidvector length
Date: 2000-01-11 00:35:57
Message-ID: 7431.947550957@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-01-11 00:52:46 Re: [HACKERS] Changing oidvector length
Previous Message Tom Lane 2000-01-11 00:30:01 Re: [HACKERS] oid8/int28