Number or parameters for functions - limited to 32 ? - Mailing list pgsql-general

From imageguy
Subject Number or parameters for functions - limited to 32 ?
Date
Msg-id e4da2e23-4593-45f9-8c0f-e58fd1e3cc1a@t36g2000prm.googlegroups.com
Whole thread Raw
Responses Re: Number or parameters for functions - limited to 32 ?  (Richard Huxton <dev@archonet.com>)
List 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.


pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Determining weather a query fired a trigger
Next
From: Zdenek Kotala
Date:
Subject: Re: "too many trigger records found for relation xyz"