Re: Refactoring backend fork+exec code

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tristan Partin <tristan(at)neon(dot)tech>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Subject: Re: Refactoring backend fork+exec code
Date: 2023-11-30 23:03:07
Message-ID: bd1b4fc5-8a72-4b8e-99a0-78ce22d3fe13@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 30/11/2023 22:26, Andres Freund wrote:
> Aside: Somewhat odd that InitAuxiliaryProcess() doesn't call
> InitLWLockAccess().

Yeah that caught my eye too.

It seems to have been an oversight in commit 1c6821be31f. Before that,
in 9.4, the lwlock stats were printed for aux processes too, on shutdown.

Committed a fix for that to master.

--
Heikki Linnakangas
Neon (https://neon.tech)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2023-11-30 23:04:57 Re: should check collations when creating partitioned index
Previous Message Tristan Partin 2023-11-30 22:10:25 Re: Bug in pgbench prepared statements