On Sat, Dec 9, 2023 at 2:05 AM Andrew Dunstan <and...@dunslane.net> wrote: > On 2023-12-08 Fr 11:37, Robert Haas wrote: > > On Fri, Dec 8, 2023 at 1:59 AM Amit Langote <amitlangot...@gmail.com> wrote: > >> Would it be messy to replace the lookahead approach by whatever's > >> suiable *in the future* when it becomes necessary to do so? > > It might be. Changing grammar rules to tends to change corner-case > > behavior if nothing else. We're best off picking the approach that we > > think is correct long term. > > All this makes me wonder if Alvaro's first suggested solution (adding > NESTED to the UNBOUNDED precedence level) wouldn't be better after all.
I've done just that in the latest v32. -- Thanks, Amit Langote EDB: http://www.enterprisedb.com