Olá,

Isso é porque você não consegue fazer commit (executar uma transação)
dentro de um bloco PL.

[]s

2009/3/6 mateusgra <[email protected]>:
>
> Qdo executo um commit dentro de uma função em pl_pgsql gera o seguinte erro:
>
> SPI_execute_plan failed executing query "commit": SPI_ERROR_TRANSACTION
> --
> View this message in context: 
> http://www.nabble.com/Erro-commit-dentro-da-pl_pgsql-tp22371981p22371981.html
> Sent from the PostgreSQL - Brasil mailing list archive at Nabble.com.
>
> _______________________________________________
> pgbr-geral mailing list
> [email protected]
> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>



-- 
JotaComm
http://jotacomm.wordpress.com
http://www.dextra.com.br/Postgres
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a