If I do the following in a pl/pgsql function, will an update lock beheld until the end of the transaction?
PERFORM c FROM t FOR UPDATE;
-- Peter HeadlandArchitectActuate Corporation