8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c7c6c4 commit 93c85dbCopy full SHA for 93c85db
src/backend/optimizer/plan/analyzejoins.c
@@ -1321,7 +1321,7 @@ innerrel_is_unique_ext(PlannerInfo *root,
1321
* supersets of them anyway.
1322
*/
1323
old_context = MemoryContextSwitchTo(root->planner_cxt);
1324
- uniqueRelInfo = palloc(sizeof(UniqueRelInfo));
+ uniqueRelInfo = makeNode(UniqueRelInfo);
1325
uniqueRelInfo->extra_clauses = outer_exprs;
1326
uniqueRelInfo->outerrelids = bms_copy(outerrelids);
1327
innerrel->unique_for_rels = lappend(innerrel->unique_for_rels,
0 commit comments