pgsql: Fix yet another issue with step generation in partition pruning.

2020-08-06 Thread Etsuro Fujita
Fix yet another issue with step generation in partition pruning. Commit 13838740f fixed some issues with step generation in partition pruning, but there was yet another one: get_steps_using_prefix() assumes that clauses in the passed-in prefix list are sorted in ascending order of their partition

pgsql: Fix yet another issue with step generation in partition pruning.

2020-08-06 Thread Etsuro Fujita
Fix yet another issue with step generation in partition pruning. Commit 13838740f fixed some issues with step generation in partition pruning, but there was yet another one: get_steps_using_prefix() assumes that clauses in the passed-in prefix list are sorted in ascending order of their partition

pgsql: Fix yet another issue with step generation in partition pruning.

2020-08-06 Thread Etsuro Fujita
Fix yet another issue with step generation in partition pruning. Commit 13838740f fixed some issues with step generation in partition pruning, but there was yet another one: get_steps_using_prefix() assumes that clauses in the passed-in prefix list are sorted in ascending order of their partition

pgsql: Fix yet another issue with step generation in partition pruning.

2020-08-06 Thread Etsuro Fujita
Fix yet another issue with step generation in partition pruning. Commit 13838740f fixed some issues with step generation in partition pruning, but there was yet another one: get_steps_using_prefix() assumes that clauses in the passed-in prefix list are sorted in ascending order of their partition