You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
The query to fetch the last seen time is wrong, and ends up fetching multiple rows per devices.
The query also does a full index scan on postgres as it doesn't understand that the construct a > ? OR (a = ? and b > ?) is equivalent to (a, b) > (?, ?)
The text was updated successfully, but these errors were encountered:
Two issues:
a > ? OR (a = ? and b > ?)
is equivalent to(a, b) > (?, ?)
The text was updated successfully, but these errors were encountered: