Will an AFTER INSERT
trigger (function written in pl/PGsql) fire in a separate transaction than the original insert?
What I'm concerned about is if the trigger experiences an exception of some kind.
Can the trigger be rolled back without the original insert being affected?