I did a Google search for using the RAISE functionality in plperl, and all the answers I see point to the elog built in function. Looking at this it appears to me, I can do things like RAISE NOTICE. But what if I want to do, say, a RAISE EXCEPTION? Or do I need to handle that with the rerun AND an elog()? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin