From: | Ted Yu <yuzhihong(at)gmail(dot)com> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | cleanup in open_auth_file |
Date: | 2022-11-24 00:54:58 |
Message-ID: | CALte62xH6ivgiKKzPRJgfekPZC6FKLB3xbnf3=tZmc_gKj78dw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
I was looking at the following commit:
commit efc981627a723d91e86865fb363d793282e473d1
Author: Michael Paquier <michael(at)paquier(dot)xyz>
Date: Thu Nov 24 08:21:55 2022 +0900
Rework memory contexts in charge of HBA/ident tokenization
I think when the file cannot be opened, the context should be deleted.
Please see attached patch.
I also modified one comment where `deleted` would be more appropriate verb
for the context.
Cheers
Attachment | Content-Type | Size |
---|---|---|
open-auth-file-cleanup.patch | application/octet-stream | 1.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2022-11-24 01:02:54 | Re: odd buildfarm failure - "pg_ctl: control file appears to be corrupt" |
Previous Message | Nathan Bossart | 2022-11-24 00:19:07 | Re: O(n) tasks cause lengthy startups and checkpoints |