I FOUND IT! A second trigger that doesn't belong......
OK, we're set now, and thanks for showing me some ways to check what the planner is up to. Is there a way of seeing what the triggers will do? ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster