Y los nombres de variables en la declaracion de los parametros de entrada??
Código SQL:
Ver originalALTER FUNCTION tarjetero.insertarEmpresa(
var1 CHAR VARYING,
var2 INTEGER,
var3 INTEGER,
var4 CHAR VARYING,
var5 CHAR VARYING,
var6 CHAR VARYING,
var7 CHAR VARYING,
var8 bytea)
Sintaxis del create or replace function
CREATE [ OR REPLACE ] FUNCTION
name ( [ [ argmode ]
[ argname ] argtype [ { DEFAULT | = } default_expr ] [, ...] ] )
[ RETURNS rettype
| RETURNS TABLE ( column_name column_type [, ...] ) ]
{ LANGUAGE lang_name
| WINDOW
| IMMUTABLE | STABLE | VOLATILE
| CALLED ON NULL INPUT | RETURNS NULL ON NULL INPUT | STRICT
| [ EXTERNAL ] SECURITY INVOKER | [ EXTERNAL ] SECURITY DEFINER
| COST execution_cost
| ROWS result_rows
| SET configuration_parameter { TO value | = value | FROM CURRENT }
| AS 'definition'
| AS 'obj_file', 'link_symbol'
} ...
[ WITH ( attribute [, ...] ) ]
https://www.postgresql.org/docs/9.1/...efunction.html