Gaetano Mendola <[EMAIL PROTECTED]> writes: > I'm observing that is not allowed to LOCK a table in a > STABLE/IMMUTABLE function but at same time is allowed > a SELECT FOR UPDATE.
Really? AFAICS, CommandIsReadOnly() will reject SELECT FOR UPDATE too. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings