Arsse/tests/cases
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
..
CLI Make data clearing in tests static 2018-11-23 10:01:17 -05:00
Conf Make data clearing in tests static 2018-11-23 10:01:17 -05:00
Database Rewrite various queries to work in PostgreSQL 2018-12-04 20:41:21 -05:00
Db Rewrite various queries to work in PostgreSQL 2018-12-04 20:41:21 -05:00
Exception Make data clearing in tests static 2018-11-23 10:01:17 -05:00
Feed Make data clearing in tests static 2018-11-23 10:01:17 -05:00
Lang Improve coverage slightly 2018-08-17 08:35:13 -04:00
Misc Make data clearing in tests static 2018-11-23 10:01:17 -05:00
REST Make data clearing in tests static 2018-11-23 10:01:17 -05:00
Service Make data clearing in tests static 2018-11-23 10:01:17 -05:00
User Make data clearing in tests static 2018-11-23 10:01:17 -05:00