| From: | Tofig Aliev <t(dot)aliev(at)postgrespro(dot)ru> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org, sawada(dot)mshk(at)gmail(dot)com |
| Subject: | Fix tiny memory leaks |
| Date: | 2024-12-06 08:38:35 |
| Message-ID: | bba4313fdde9db46db279f96f3b748b1@postgrespro.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi, hackers!
There is a memory leak in functions check_application_name() and
check_cluster_name().
Functions are located in src/backend/commands/variable.c
The leak can be triggered using SQL command: SET
application_name=new_name;
You can run pgbench with this command for a long time by passing this
command in file via '-f' flag.
regards,
Tofig
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Fix-tiny-memory-leaks.patch | text/x-diff | 1019 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | jian he | 2024-12-06 08:41:49 | Re: Pass ParseState as down to utility functions. |
| Previous Message | jian he | 2024-12-06 08:31:38 | refactor AlterDomainAddConstraint (alter domain add constraint) |