By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,691 Members | 1,997 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,691 IT Pros & Developers. It's quick & easy.

Increase stored proc. parameters max count

P: n/a
lnd
Is there any bad side effect in recompiling PG with increased stored
procedures maximum parameters count, for example, to 128?
Thank you in advance,
Laimis

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
<ln*@hnit.is> writes:
Is there any bad side effect in recompiling PG with increased stored
procedures maximum parameters count, for example, to 128?


It'll be slower and the pg_proc table will get much larger (as will its
indexes). But you could do it.

In practice, I should think that procedures with more than a couple
dozen parameters are too unwieldy to be useful anyway --- how would you
ever get that many parameters listed correctly? You should think about
redesigning your data representation; perhaps arrays or composite types
would work better.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.