On Thu, Mar 9, 2017 at 8:21 AM, Rushabh Lathia <rushabh.lathia@gmail.com> wrote: > Thanks Robert for committing this. > > My colleague Neha Sharma found one regression with the patch. I was about > to send this mail and noticed that you committed the patch.
Oops. Bad timing. > postgres=# explain select aid from pgbench_accounts where aid % 25= 0 group > by aid; > ERROR: ORDER/GROUP BY expression not found in targetlist
I think your fix for this looks right, although I would write it this way: