På tirsdag 27. februar 2018 kl. 12:16:42, skrev Jeevan Chalke < jeevan.cha...@enterprisedb.com <mailto:jeevan.cha...@enterprisedb.com>>: Hi, On Tue, Feb 27, 2018 at 3:46 PM, Andreas Joseph Krogh <andr...@visena.com <mailto:andr...@visena.com>> wrote: $subject The query I'm using is 14K and I have not produced a test-case, so this is just a heads-up.
Rajkumar off-list shared same issue with me. And I have posted a fix for the same ( https://www.postgresql.org/message-id/CAM2+6=x9kxqol2zqz00e6asbt9z+rfywbomhxj0+8fpaymz...@mail.gmail.com <https://www.postgresql.org/message-id/CAM2+6=x9kxqol2zqz00e6asbt9z+rfywbomhxj0+8fpaymz...@mail.gmail.com> ) Can you please check if that fixes your test-case or not? Applying fix_aggref_in_non-agg_error.patch (only) fixes the issue -- Andreas Joseph Krogh