Alvaro Herrera <[EMAIL PROTECTED]> writes: > You can't have subtransactions inside an implicit transaction block,
It would be folly to design on that assumption. We *will* have that situation just as soon as plpgsql allows creating subtransactions (which I trust you'll agree will happen soon). All you have to do is call such a function from a bare SELECT. I do not think you'll be able to legislate that people must say BEGIN first. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings