We have a large table and the error occurs with this where clause: FROM "elliedb"."documentlog" WHERE dcmodifiedutc>(extract(epoch from TIMESTAMP '2019-11-15 11:30:51')*1000)
When we reduce the scope to current time - 4 hours the query works within 44 seconds. where dcmodifiedutc > '1575282651000'
Is this expected? Is this a version issue being only 9.5? It seems the timestamp conversion would be done once and applied to the filter, but it seems to ballooning the query result being aggregated for the where clause? Thank you.