Re: [HACKERS] More efficient truncation of pg_stat_activity query strings - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] More efficient truncation of pg_stat_activity query strings
Date
Msg-id 3304.1505508347@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] More efficient truncation of pg_stat_activity querystrings  (Andres Freund <andres@anarazel.de>)
Responses Re: [HACKERS] More efficient truncation of pg_stat_activity querystrings
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> Version correcting these is attached. Thanks!

I'd vote for undoing the s/st_activity/st_activity_raw/g business.
That may have been useful while writing the patch, to ensure you
found all the references; but it's just creating a lot of unnecessary
delta in the final code, with the attendant hazards for back-patches.
        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

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: [HACKERS] The case for removing replacement selection sort
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] More efficient truncation of pg_stat_activity querystrings