git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b229c10) | patch
psql: Fix memory leak with \gx used within a pipeline
Tue, 4 Mar 2025 22:56:03 +0000 (07:56 +0900)
Tue, 4 Mar 2025 22:56:03 +0000 (07:56 +0900)
commit 54d23601b978d2552696fb7fe35ae5d6102ea2cb
psql: Fix memory leak with \gx used within a pipeline

While inside a pipeline, \gx is currently forbidden and will make
exec_command_g() exit early. There was a memory leak in this code path,
so let's fix it.

Author: Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Discussion: https://postgr.es/m/CAO6_XqqFVQjLjZQiL7xdwLpzZEy1ghO_JWvCFPM_OmwF9s7XdA@mail.gmail.com
src/bin/psql/command.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /