Number or parameters for functions - limited to 32 ?

Поиск
Список
Период
Сортировка
От imageguy
Тема Number or parameters for functions - limited to 32 ?
Дата
Msg-id e4da2e23-4593-45f9-8c0f-e58fd1e3cc1a@t36g2000prm.googlegroups.com
обсуждение исходный текст
Ответы Re: Number or parameters for functions - limited to 32 ?
Список 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 по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Determining weather a query fired a trigger
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: "too many trigger records found for relation xyz"