On Wed, Aug 21, 2019 at 6:24 AM Alex <zhihui(dot)fan1213(at)gmail(dot)com> wrote:
> suppose the executor should scan 1 first, If all the tuples for 1 has been scanned, then **it should be reset to 100000** and scan again.
You might find my nbtree index scan test patch useful:
https://postgr.es/m/CAH2-WzmRT_0YbHF05axQb2OiTUQiQAkr0Lznntj8X3KADKZ-5g@mail.gmail.com
--
Peter Geoghegan