"Bruno G. Albuquerque" <balbuquerque@dba.com.br> writes:
> The problem is that when we do a backup/restore procedure (using
> pg_dump/pg_restore), the functions are restored without the named
> parameters, which make then fail as inside the function the parameter
> names are mentioned.
Perhaps you are using a pre-8.0 pg_dump?
regards, tom lane