# How to increase no of arguments to a function in PostgreSQL

**URL:** <https://forums.percona.com/t/how-to-increase-no-of-arguments-to-a-function-in-postgresql/12229>\
**Category:** PostgreSQL\
**Created:** [September 20, 2021, 5:32pm UTC](https://forums.percona.com/t/how-to-increase-no-of-arguments-to-a-function-in-postgresql/12229 "2021-09-20T17:32:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prakash7990](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@prakash7990](https://forums.percona.com/u/prakash7990)\
**Post date:** [September 20, 2021, 5:32pm UTC](https://forums.percona.com/t/how-to-increase-no-of-arguments-to-a-function-in-postgresql/12229/1 "2021-09-20T17:32:10Z")

</div>

How to increase no of arguments to a function or an stored procedure in postgresql

---

<div class="post-metadata">

**Author:** ![Eduardo](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/eduardo/32/2416_2.png) [@Eduardo](https://forums.percona.com/u/Eduardo)\
**Post date:** [September 22, 2021, 3:10pm UTC](https://forums.percona.com/t/how-to-increase-no-of-arguments-to-a-function-in-postgresql/12229/2 "2021-09-22T15:10:58Z")

</div>

Hello prakash7990, can you illustrate your question with an example?

Generally speaking, if you want a stored procedure to accept new arguments you will need to redefine (CREATE OR REPLACE) the [procedure](https://www.postgresql.org/docs/13/sql-createprocedure.html) or [function](https://www.postgresql.org/docs/13/sql-createfunction.html). You mean that?

An example of the type of change you need will help to better understand your question.
