Wouldn't it be weird if an update to pg_stat_activity.current_query actually ran that query for the selected backend:
UPDATE pg_stat_activity SET current_query = "SELECT 1" WHERE procpid = 19522; -- Bruce Momjian [EMAIL PROTECTED] EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. + ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster