Number or parameters for functions - limited to 32 ?

From: imageguy <imageguy1206(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Number or parameters for functions - limited to 32 ?
Date: 2008-04-08 14:58:15
Message-ID: e4da2e23-4593-45f9-8c0f-e58fd1e3cc1a@t36g2000prm.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am attempting to port and application that was designed for MS-SQL
to Postgres and bumped into a limitation of pg functions, namely that
pg functions can only support 32 parameters.

Our app takes records from a only cobol file(s) and populates an SQL
table(s), such that one table in the db = one file from the file
system.

With MS-SQL we use a stored procedure to handle the update/inserts and
pass the fields information as parameters to the procedure as part of
"EXECUTE" command. Sometimes there can be as many as 50+ parameters
to be passed.

Typically pg functions as offered as the equivalent to "store
procedures", however, in this case seems to be a limitation.

If anyone has any other suggestions, we would appreciate some input.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-04-08 15:02:03 Re: ecpg-timestamp- interval problem V8.2.x
Previous Message mljv 2008-04-08 14:57:26 Problem after VACUUM ANALYZE