On Sun, Feb 10, 2019 at 03:15:38PM +1100, rob stone wrote:
> Down around line 87 onwards there are generate_series without any
> parameters, and further dubious usage of EPOCH, as well as DOW.
>
> Not having the table definitions is obviously clouding the analysis.
That seems like the root issue for now.
> If there is a bug in the parser, then one of the experts will have to
> opine about that.
If you actually extract the SQL query and the schema which are used to
make the problem reproducible? That would help a bit instead of
having to guess based on the sparse information on this thread.
--
Michael