> The argument for treating work_mem specially is that it has effects at
> both plan time and run time, so that the planner's cost assumptions
> are invalidated if the executor uses a different value than the
> planner did.
I see that now. Thanks!
> Maybe that refactoring is one that would conveniently apply to
> other GUCs, or maybe it isn't. I'm content to await details
> before arguing about what we "should" do.
Agree.
--
Sami