Why Nostr? What is Njump?
2024-07-25 00:22:17

Alex Gleason on Nostr: TIL you can force the SQL query planner to do two different steps if you use a CTE: > ...

TIL you can force the SQL query planner to do two different steps if you use a CTE:

> In PostgreSQL, a CTE (Common Table Expression) is an optimization fence, which means the query planner executes the CTE independently of the rest of the query and stores the result set in temporary memory (it essentially materializes the CTE). Then that result set is scanned one or multiple times depending on its use in the main query.
Author Public Key
npub1q3sle0kvfsehgsuexttt3ugjd8xdklxfwwkh559wxckmzddywnws6cd26p