On 15-03-2012 09:48, Claudio Oliveira wrote: > 1)-Quando eu disse erro eu não disse que é proposital, disse que é um ERRO que > foi feito sem querer ou por falta de conhecimento. > Então é hora de voltar/ir ao manual ou curso/treinamento.
> 3)-Se fizer o mesmo teste com return OLD dá certo entaum porque com NULL não > dá ? > No manual [1] diz: "It can return NULL to skip the operation for the current row. This instructs the executor to not perform the row-level operation that invoked the trigger (the insertion, modification, or deletion of a particular table row)." [1] http://www.postgresql.org/docs/current/static/trigger-definition.html -- Euler Taveira de Oliveira - Timbira http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento _______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
