mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
For consistency add a pfree to ON CONFLICT set_plan_refs code.
Backpatch to 9.5 where ON CONFLICT was introduced. Author: Peter Geoghegan
This commit is contained in:
@ -776,6 +776,8 @@ set_plan_refs(PlannerInfo *root, Plan *plan, int rtoffset)
|
||||
linitial_int(splan->resultRelations),
|
||||
rtoffset);
|
||||
|
||||
pfree(itlist);
|
||||
|
||||
splan->exclRelTlist =
|
||||
fix_scan_list(root, splan->exclRelTlist, rtoffset);
|
||||
}
|
||||
|
Reference in New Issue
Block a user