mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-05 12:27:08 +02: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:
parent
0e8e48b0da
commit
1884708e25
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user