diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-11-24 10:27:38 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-11-24 10:27:38 +0900 |
commit | d46ad72f464beafa6d92d60d214412374559e280 (patch) | |
tree | 62934c9abb7c19aa803a8b42e857f48c96e7436a /src/backend/executor/nodeBitmapAnd.c | |
parent | d5566fbfeb6a1e05151a1cdc409465e2a3d3a6c6 (diff) | |
download | postgresql-d46ad72f464beafa6d92d60d214412374559e280.tar.gz postgresql-d46ad72f464beafa6d92d60d214412374559e280.zip |
Create memory context for tokenization after opening top-level file in hba.c
The memory context was created before attempting to open the first HBA
or ident file, which would cause it to leak. This had no consequences
for the system views for HBA and ident files, but this would cause
memory leaks in the postmaster on reload if the initial HBA and/or ident
files are missing, which is a valid behavior while the backend is
running.
Oversight in efc9816.
Author: Ted Yu
Discussion: https://postgr.es/m/CALte62xH6ivgiKKzPRJgfekPZC6FKLB3xbnf3=tZmc_gKj78dw@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeBitmapAnd.c')
0 files changed, 0 insertions, 0 deletions