forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd46ad72
committed
Create memory context for tokenization after opening top-level file in hba.c
The memory context was created before attempting to open the first HBAor ident file, which would cause it to leak. This had no consequencesfor the system views for HBA and ident files, but this would causememory leaks in the postmaster on reload if the initial HBA and/or identfiles are missing, which is a valid behavior while the backend isrunning.Oversight inefc9816.Author: Ted YuDiscussion:https://postgr.es/m/CALte62xH6ivgiKKzPRJgfekPZC6FKLB3xbnf3=tZmc_gKj78dw@mail.gmail.com1 parentd5566fb commitd46ad72
1 file changed
+16
-16
lines changedLines changed: 16 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
601 | 601 |
| |
602 | 602 |
| |
603 | 603 |
| |
604 |
| - | |
605 |
| - | |
606 |
| - | |
607 |
| - | |
608 |
| - | |
609 |
| - | |
610 |
| - | |
611 |
| - | |
612 |
| - | |
613 |
| - | |
614 |
| - | |
615 |
| - | |
616 |
| - | |
617 |
| - | |
618 |
| - | |
619 |
| - | |
620 | 604 |
| |
621 | 605 |
| |
622 | 606 |
| |
| |||
634 | 618 |
| |
635 | 619 |
| |
636 | 620 |
| |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
637 | 637 |
| |
638 | 638 |
| |
639 | 639 |
| |
|
0 commit comments
Comments
(0)