pgsql: During parallel pg_dump, free commands from master

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: During parallel pg_dump, free commands from master
Date: 2013-07-14 18:40:03
Message-ID: E1UyRDH-0005yV-Aq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

During parallel pg_dump, free commands from master

The command strings read by the child processes during parallel
pg_dump, after being read and handled, were not being free'd.
This patch corrects this relatively minor memory leak.

Leak found by the Coverity scanner.

Back patch to 9.3 where parallel pg_dump was introduced.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/234e4cf6e1eac2f0e514379a2a533ffb71b33732

Modified Files
--------------
src/bin/pg_dump/parallel.c | 3 +++
1 file changed, 3 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2013-07-14 18:40:28 pgsql: During parallel pg_dump, free commands from master
Previous Message Stephen Frost 2013-07-14 17:12:12 Re: pgsql: Optimize pglz compressor for small inputs.