pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Browne <cbbrowne@acm.org>
To: pgsql-sql@postgresql.org
Subject: Re: Max input parameter for a function
Date: Mon, 20 Oct 2003 08:29:45 -0400
Message-ID: <m3znfw3xdy.fsf@wolfe.cbbrowne.com> (raw)
References: <008d01c396d3$62d94d60$7502a8c0@hdsc.com>

After a long battle with technology,sgnerd@yahoo.com.sg ("Kumar"), an earthling, wrote:
> While trying to allocate about 36 input parameters, I got an error saying that the max input parameter for a function is only 32.
>
> Is it right? How to overcome this? Because I wanna insert records into a table of 55 columns with a lot of NULL able columns.
>
> I am using Postgres 7.3.4 on RH Linux 7.2.
>
> Note: I can't use 2 functions , one to insert 32 rows into the table
> first and the update the remaining columns with other
> function. Because there are only 27 columns that are not null.

The default compiled in is to limit the number of parameters to 32.
You can recompile it and modify the number of input parameters.

Somehow, the notion of a table with 55 columns strikes me as a
situation where normalization is likely to be BADLY needed...
-- 
output = reverse("gro.gultn" "@" "enworbbc")
http://www.ntlug.org/~cbbrowne/linux.html
Rules of  the Evil Overlord  #156. "If I  have the hero and  his party
trapped, I will  not wait until my Superweapon  charges to finish them
off if more conventional means are available."
<http://www.eviloverlord.com/;



view thread (3+ messages)  latest in thread

Message-ID: <m3znfw3xdy.fsf@wolfe.cbbrowne.com>
Permalink:  ../m3znfw3xdy.fsf@wolfe.cbbrowne.com/
Also on:    postgresql.org/message-id/m3znfw3xdy.fsf@wolfe.cbbrowne.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: cbbrowne@acm.org
  Subject: Re: Max input parameter for a function
  In-Reply-To: <m3znfw3xdy.fsf@wolfe.cbbrowne.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox