Add cleanup parsing contexts for pg_hba and pg_ident files

From: Tofig Aliev <t(dot)aliev(at)postgrespro(dot)ru>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Add cleanup parsing contexts for pg_hba and pg_ident files
Date: 2026-07-21 07:41:08
Message-ID: f5652214332a4641fdc4762878636a9d@postgrespro.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, hackers!

Background processes calling load_hba()/load_ident() may see
undefined behavior because PostmasterContext is already gone.
This patch adds proper context cleanup to prevent this issue.

regards,
Tofig Aliev

Attachment Content-Type Size
0001-Add-cleanup-parsing-contexts-for-pg_hba-and-pg_ident.patch text/x-diff 2.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-07-21 07:54:22 Re: Add cleanup parsing contexts for pg_hba and pg_ident files
Previous Message yuanchao zhang 2026-07-21 07:37:17 Re: Validate SERVER subscription conninfo during ALTER SUBSCRIPTION ... OWNER TO