Em 19 de outubro de 2010 12:26, Tiago Valério <[email protected]>escreveu:
>
>
> No exception abaixo, existe a possibilidade de eu capturar o que houve
> exatamente e a atribuir isto a uma variavel do tipo text?
>
> exception
>
> when others then
>
>
Sim,
...
exception
when others then
raise info 'Erro % - %', SQLSTATE, SQLERRM;
end;
...
--
Fabrízio de Royes Mello
>> Blog sobre TI: http://fabriziomello.blogspot.com
>> Perfil Linkedin: http://br.linkedin.com/in/fabriziomello
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral