Content-Length: 233324 | pFad | http://github.com/postgrespro/postgres/commit/eac3e00f8140e5a17b8021ba14e2239e3fd2a640

65 Fix various memory leaks in psql's describe commands \d* · postgrespro/postgres@eac3e00 · GitHub
Skip to content

Commit eac3e00

Browse files
committed
Fix various memory leaks in psql's describe commands \d*
Most of these have been introduced in d2d3547 with the new pattern validation logic, and would leak memory worth an amount of one PQExpBuffer each time (as of 256 bytes at minimum, possibly more). Most of the patch has been written by Tang Haiying, with a few tweaks coming from Álvaro Herrera. Reported-by: Tang Haiying Author: Tang Haiying, Álvaro Herrera Reviewed-by: Mark Dilger, Andres Freund, Álvaro Herrera, Tom Lane, Japin Li, Michael Paquier, Junwang Zhao Backpatch-through: 15
1 parent 2103266 commit eac3e00

File tree

1 file changed

+190
-45
lines changed

1 file changed

+190
-45
lines changed

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/eac3e00f8140e5a17b8021ba14e2239e3fd2a640

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy