Commit 9d00cf4
committed
Remove some redundant set_cheapest() calls.
Commit e2fa76d centralized the responsibility for doing
set_cheapest() for a baserel, but these functions added later
seemingly didn't get the memo. There's no apparent reason why
we need the cheapest path for these relation types to be available
any sooner than it is for other base relation types, so delete the
duplicate calls. Doesn't save much since there's only one path
in these cases, but it might improve clarity.
Richard Guo
Discussion: https://postgr.es/m/CAMbWs4-KFEU_fDuJPNCOkUu3rwvZvKBEytkd9VrM4kH4-2h1CQ@mail.gmail.com1 parent d365ae7 commit 9d00cf4
1 file changed
+0
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2966 | 2966 | | |
2967 | 2967 | | |
2968 | 2968 | | |
2969 | | - | |
2970 | | - | |
2971 | | - | |
2972 | 2969 | | |
2973 | 2970 | | |
2974 | 2971 | | |
| |||
2996 | 2993 | | |
2997 | 2994 | | |
2998 | 2995 | | |
2999 | | - | |
3000 | | - | |
3001 | | - | |
3002 | 2996 | | |
3003 | 2997 | | |
3004 | 2998 | | |
| |||
0 commit comments