2012/4/4, Marcelo Florindo <[email protected]>:
> Osvaldo,
>
> Achei que seria isto...mas não...arrumei e continua com o mesmo erro
>


Siga a dica do Rodrigo:

SELECT banco_manutencao(1::smallint, '201'::varchar, 'A'::char,
0::smallint, 'teste'::varchar, '?'::char);

Outro detalhe, no comando:
if (_acao="I" or _acao="U") then
repare que você está se referindo às variáveis "I" e "U" e não aos
caracteres 'I' e 'U' (veja delimited identifier or quoted identifier
em [1]).

Osvaldo
[1] http://www.postgresql.org/docs/current/interactive/sql-syntax-lexical.html
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a