Weird idea for pg_stat_activity - Mailing list pgsql-hackers

From Bruce Momjian
Subject Weird idea for pg_stat_activity
Date
Msg-id 200608150529.k7F5T2107696@momjian.us
Whole thread Raw
Responses Re: Weird idea for pg_stat_activity
Re: Weird idea for pg_stat_activity
List pgsql-hackers
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   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Darcy Buskermolen
Date:
Subject: New beginings
Next
From: Michael Meskes
Date:
Subject: Re: ecpg tests make failed on Win32/MinGW