"Robert Haas" <[EMAIL PROTECTED]> writes: >> That's a good point. We throw error for DECLARE CURSOR outside a >> transaction block, since it's obviously a mistake. I wonder whether >> we shouldn't equally throw error for LOCK outside a transaction block. >> >> Objections anyone?
> No, I've been bitten by this myself. OK, done in CVS HEAD. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers