Re: Increasing MAX_ARGS

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Increasing MAX_ARGS
Дата
Msg-id 200111070211.fA72BZ914428@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Increasing MAX_ARGS  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-sql
> Tom,
> 
> > src/include.
> > 
> > If you haven't run configure yet, do that first.
> 
> OK.  
> 1. I modified /src/include/config.h.in
> 2. I configured postgres.  Config.h correctly shows MAX_ARGS at 32.
> 3. I built postgres
> 4. I initdb'd.
> 
> As a test, I tried building a function with 20 parameters in Template1.
> I got:
> 
> "ERROR: Procedures cannot take more than 16 arguments."
> 
> What's going on here?  Is there a check for the number of arguments
> outside of the compile configuration?

That should work. The strange part is that I can't find that error
message anywhere in the sources.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: wyatt@draggoo.com
Дата:
Сообщение: Single VIEW, and FUNCTION questions...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Increasing MAX_ARGS