Fix memory leak when output postgres_fdw's "Relations" - Mailing list pgsql-hackers

From Ranier Vilela
Subject Fix memory leak when output postgres_fdw's "Relations"
Date
Msg-id CAEudQAq6GgZuf3c_szDVXm08k-edb0SR7E+ATcs1WzGV=pHFVA@mail.gmail.com
Whole thread Raw
Responses Re: Fix memory leak when output postgres_fdw's "Relations"  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,


ExplainPropertyText does not save the *relations->data* pointer and
var relations goes out of scope.

No need to backpatch.

regards,
Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [bug?] Missed parallel safety checks, and wrong parallel safety
Next
From: Mikhail Matrosov
Date:
Subject: Configure with thread sanitizer fails the thread test