Re: Hooks for session start and end, take two
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: legrand legrand <legrand_legrand@hotmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2019-09-27T04:54:26Z
Lists: pgsql-hackers
On Thu, Sep 26, 2019 at 09:57:57AM -0700, legrand legrand wrote: > Does that mean that all processes seen in pg_stat_activity like > - autovacuum launcher > - logical replication launcher > - background writer > - checkpointer > - walwriter > ... > - Parallel worker > are available with that hook (it seems not) ? All processes using PostgresMain() for their startup take this code path like WAL senders and normal backend sessions, but not things going through StartChildProcess() (WAL receiver, bgwriter, etc.) or other processes like autovacuum processes which use a different start code path. > The patch refers to a 2017 copyright, that's all I found yet ;o) Fixed, thanks! -- Michael
Commits
-
Add hooks for session start and session end, take two
- e788bd924c19 13.0 landed