Rafael Domiciano wrote:
> 
> Provavelmente a sua função venda.calculosVenda utiliza informações da
> tabela
> que você está alterando. 
> 
> 

Ah! Claro! Claro!

A função calculosVenda usa exatamente o campo valor_compra que está sendo
alterado.

-- 
View this message in context: 
http://old.nabble.com/Problema-com-trigger-em-update-tp28129160p28129803.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

Responder a