Am 30.10.2018 um 16:04 schrieb Tom Lane <tgl@xxxxxxxxxxxxx>: That is ... odd. Is it possible that you have cpu_operator_cost set to zero, or some very tiny number?
Yes:
cpu_index_tuple_cost = 0.01 cpu_operator_cost = 0
I increased that value and the issue disappeared. (-: