pgsql: use subquery to plan GetNotification query (#182)
This change enables the query planner to wait and sort the result set of our query rather than attempting to re-use the layer table's index for the ORDER BY clause. Because the result set is always small, this makes queries that were previous tens of seconds, now tens of milliseconds.pull/188/head
parent
51f9c5dcb4
commit
5d8336acb3
Loading…
Reference in new issue