Hi, I want to write a function that updates several tables; if there is an exception while updating, it should rollback the transaction and raise an error.
How can this be done in pgPLSQL in PostgreSQL 8.1 ? Thank you for helping me out on this one ! ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match