pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Avoid memory leak on error while parsing pg_stat_statements dump 6+ messages / 1 participants [nested] [flat]
* pgsql: Avoid memory leak on error while parsing pg_stat_statements dump @ 2026-03-27 11:12 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2026-03-27 11:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid memory leak on error while parsing pg_stat_statements dump file By using palloc() instead of raw malloc(). Reported-by: Gaurav Singh <gaurav.singh@yugabyte.com> Reviewed-by: Lukas Fittl <lukas@fittl.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://www.postgresql.org/message-id/CAEcQ1bYR9s4eQLFDjzzJHU8fj-MTbmRpW-9J-r2gsCn+HEsynw@mail.gmail... Backpatch-through: 14 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/3c74cb5762db6373187c3cf83f1b955e88773e33 Modified Files -------------- contrib/pg_stat_statements/pg_stat_statements.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Avoid memory leak on error while parsing pg_stat_statements dump @ 2026-03-27 11:12 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2026-03-27 11:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid memory leak on error while parsing pg_stat_statements dump file By using palloc() instead of raw malloc(). Reported-by: Gaurav Singh <gaurav.singh@yugabyte.com> Reviewed-by: Lukas Fittl <lukas@fittl.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://www.postgresql.org/message-id/CAEcQ1bYR9s4eQLFDjzzJHU8fj-MTbmRpW-9J-r2gsCn+HEsynw@mail.gmail... Backpatch-through: 14 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/25b02320e13305a03fbcbbb0202053dbcb7540d1 Modified Files -------------- contrib/pg_stat_statements/pg_stat_statements.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Avoid memory leak on error while parsing pg_stat_statements dump @ 2026-03-27 11:12 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2026-03-27 11:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid memory leak on error while parsing pg_stat_statements dump file By using palloc() instead of raw malloc(). Reported-by: Gaurav Singh <gaurav.singh@yugabyte.com> Reviewed-by: Lukas Fittl <lukas@fittl.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://www.postgresql.org/message-id/CAEcQ1bYR9s4eQLFDjzzJHU8fj-MTbmRpW-9J-r2gsCn+HEsynw@mail.gmail... Backpatch-through: 14 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/351e59f344b57bb6958bdf455bf5069d6e52a922 Modified Files -------------- contrib/pg_stat_statements/pg_stat_statements.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Avoid memory leak on error while parsing pg_stat_statements dump @ 2026-03-27 11:12 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2026-03-27 11:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid memory leak on error while parsing pg_stat_statements dump file By using palloc() instead of raw malloc(). Reported-by: Gaurav Singh <gaurav.singh@yugabyte.com> Reviewed-by: Lukas Fittl <lukas@fittl.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://www.postgresql.org/message-id/CAEcQ1bYR9s4eQLFDjzzJHU8fj-MTbmRpW-9J-r2gsCn+HEsynw@mail.gmail... Backpatch-through: 14 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/52edaf9d9b0231700f97bd13c6860dc63b9b2eff Modified Files -------------- contrib/pg_stat_statements/pg_stat_statements.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Avoid memory leak on error while parsing pg_stat_statements dump @ 2026-03-27 11:12 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2026-03-27 11:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid memory leak on error while parsing pg_stat_statements dump file By using palloc() instead of raw malloc(). Reported-by: Gaurav Singh <gaurav.singh@yugabyte.com> Reviewed-by: Lukas Fittl <lukas@fittl.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://www.postgresql.org/message-id/CAEcQ1bYR9s4eQLFDjzzJHU8fj-MTbmRpW-9J-r2gsCn+HEsynw@mail.gmail... Backpatch-through: 14 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/92cf11171baf64723412c996c641e6cc124d11d6 Modified Files -------------- contrib/pg_stat_statements/pg_stat_statements.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Avoid memory leak on error while parsing pg_stat_statements dump @ 2026-03-27 11:12 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2026-03-27 11:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid memory leak on error while parsing pg_stat_statements dump file By using palloc() instead of raw malloc(). Reported-by: Gaurav Singh <gaurav.singh@yugabyte.com> Reviewed-by: Lukas Fittl <lukas@fittl.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://www.postgresql.org/message-id/CAEcQ1bYR9s4eQLFDjzzJHU8fj-MTbmRpW-9J-r2gsCn+HEsynw@mail.gmail... Backpatch-through: 14 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a6d03067ff5d2198caf4805882dcdbe813a55817 Modified Files -------------- contrib/pg_stat_statements/pg_stat_statements.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2026-03-27 11:12 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-03-27 11:12 pgsql: Avoid memory leak on error while parsing pg_stat_statements dump Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-03-27 11:12 pgsql: Avoid memory leak on error while parsing pg_stat_statements dump Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-03-27 11:12 pgsql: Avoid memory leak on error while parsing pg_stat_statements dump Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-03-27 11:12 pgsql: Avoid memory leak on error while parsing pg_stat_statements dump Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-03-27 11:12 pgsql: Avoid memory leak on error while parsing pg_stat_statements dump Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-03-27 11:12 pgsql: Avoid memory leak on error while parsing pg_stat_statements dump Heikki Linnakangas <heikki.linnakangas@iki.fi>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox