Hi, Hi, Maybe this is a real bug. The assignment has no effect, or forget dereferencing it?
Best regards. Ranier Vilela --- \dll\postgresql-12.0\a\backend\optimizer\plan\initsplan.c Mon Sep 30 17:06:55 2019 +++ initsplan.c Fri Nov 22 19:48:42 2019 @@ -1718,7 +1718,7 @@ relids = get_relids_in_jointree((Node *) root->parse->jointree, false); - qualscope = bms_copy(relids); + bms_copy(relids); } } }
initsplan.c.patch
Description: initsplan.c.patch