Skip to content

Commit 3ed26e5

Browse files
committed
For consistency add a pfree to ON CONFLICT set_plan_refs code.
Backpatch to 9.5 where ON CONFLICT was introduced. Author: Peter Geoghegan
1 parent ff27db5 commit 3ed26e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/optimizer/plan/setrefs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,8 @@ set_plan_refs(PlannerInfo *root, Plan *plan, int rtoffset)
776776
linitial_int(splan->resultRelations),
777777
rtoffset);
778778

779+
pfree(itlist);
780+
779781
splan->exclRelTlist =
780782
fix_scan_list(root, splan->exclRelTlist, rtoffset);
781783
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy