forked from ioi-2023/cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AWS: do not depend on ordering of
UNION ALL
Apparently neither postgres nor the SQL standard guarantees that the order of the results will match the order the of the queries[0]. If the results are not returned in order, then AWS will confuse which result belongs to which query, producing incomprehensible results on the admin page. [0]: https://dba.stackexchange.com/questions/316818/are-results-from-union-all-clauses-always-appended-in-order
- Loading branch information
Showing
1 changed file
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters