Ian Lance Taylor <ian(at)airs(dot)com> writes:
> Unfortunately, the portal code explicitly rejects FOR UPDATE
> (transformSelectStmt in parser/analyze.c).
AFAIK, that error check is there specifically because we don't have
UPDATE WHERE CURRENT. Try removing it and see what happens --- AFAIK,
things might "just work".
regards, tom lane