Re: Force update_process_title=on in crash recovery? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Force update_process_title=on in crash recovery?
Date
Msg-id 20200916023006.GA11110@paquier.xyz
Whole thread Raw
In response to Re: Force update_process_title=on in crash recovery?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Force update_process_title=on in crash recovery?  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
On Tue, Sep 15, 2020 at 10:01:18AM -0400, Tom Lane wrote:
> Seems like a good argument, but you'd have to be careful about the
> final state when you stop overriding update_process_title --- it can't
> be left looking like it's still-in-progress on some random WAL file.
> (Compare my nearby gripes about walsenders being sloppy about their
> pg_stat_activity and process title presentations.)

Another thing to be careful here is WIN32, see 0921554.  And slowing
down recovery is never a good idea.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: [Patch] Optimize dropping of relation buffers using dlist
Next
From: "tsunakawa.takay@fujitsu.com"
Date:
Subject: RE: [Patch] Optimize dropping of relation buffers using dlist