Re: [HACKERS] Changing oidvector length

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Changing oidvector length
Date: 2000-01-11 02:34:48
Message-ID: 200001110234.VAA03529@candle.pha.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:
> >> You may have gotten confused because fmgr.c allowed 9 args to be passed,
> >> even though there's no way to declare such a function; I think this was
> >> a hack to support some special system usage --- possibly selectivity
> >
> > btbuild, I believe.
>
> Ah, you are right (it just blew up on me when I tried it at eight ;-)).
>
> >> But if we are going to
> >> increase the default MAX_ARGS above 8 then the issue goes away anyway,
> >> and there's no need for fmgr.c to support more args than can normally
> >> be declared.
>
> This still holds though --- we will just require INDEX_MAX_ARGS to be
> at least 9 from here on out...

But it bombs on 16.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-01-11 05:14:50 zeros in oidvector type
Previous Message Tom Lane 2000-01-11 02:25:51 Re: [HACKERS] Changing oidvector length