Re: Max input parameter for a function

Поиск
Список
Период
Сортировка
От Christopher Browne
Тема Re: Max input parameter for a function
Дата
Msg-id m3znfw3xdy.fsf@wolfe.cbbrowne.com
обсуждение исходный текст
Ответ на Max input parameter for a function  ("Kumar" <sgnerd@yahoo.com.sg>)
Список pgsql-sql
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
isonly 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/>


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

Предыдущее
От: Adam Witney
Дата:
Сообщение: query or design question
Следующее
От: "Kumar"
Дата:
Сообщение: Unable to user pg_restore