1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00
Arsse/sql/PostgreSQL
J. King 8fc31cfc40 Rewrite various queries to work in PostgreSQL
This involved changes to the driver interface as well as the database
schemata. The most significantly altered queries were for article
selection and marking, which relied upon unusual features of SQLite.
Overall query efficiency should not be adversely affected (it may have
even imprved) in the common case, while very rare cases (not presently
triggered by any REST handlers) require more queries.

One notable benefit of these changes is that functions which query
articles can now have complete control over which columns are returned.
This has not, however, been implemented yet: symbolic column groups are
still used for now.

Note that PostgreSQL still fails many tests, but the test suite runs to
completion. Note also that one line of the Database class is not
covered; later changes will eventually make it easier to cover the line
in question.
2018-12-04 20:41:21 -05:00
..
0.sql Correct PostgreSQL data format and other tweaks 2018-11-28 12:12:49 -05:00
1.sql Correct PostgreSQL data format and other tweaks 2018-11-28 12:12:49 -05:00
2.sql Convert one database function test series (articles) to a common harness 2018-11-24 23:18:17 -05:00
3.sql Rewrite various queries to work in PostgreSQL 2018-12-04 20:41:21 -05:00