Commit Graph

30 Commits (f44b7c022f6bc8b30cb8c446e0922b26b8b8eb5a)

Author SHA1 Message Date
Mark Haines d5fb561709 Optionally make committing to postgres asynchronous. 9 years ago
Erik Johnston 8aab9d87fa Don't require config to create database 9 years ago
Daniel Wagner-Hall 763360594d Mark AS users with their AS's ID 9 years ago
Daniel Wagner-Hall d83d004ccd Fix flake8 warnings for new flake8 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Erik Johnston 0c36098c1f Implement rank function for SQLite FTS 9 years ago
Erik Johnston 17c80c8a3d rename schema_prepare to prepare_database 9 years ago
Erik Johnston ec398af41c Expose error more nicely 9 years ago
Erik Johnston 40b6a5aad1 Split out the schema preparation and update logic into its own module 9 years ago
Erik Johnston 1d566edb81 Remove race condition 10 years ago
Erik Johnston 1692dc019d Don't call 'encode_parameter' no-op 10 years ago
Erik Johnston fabb7acd45 Fix bug where we reconnected to the database on every query. 10 years ago
Erik Johnston cd0864121b Make postgres database error slightly more helpful 10 years ago
Erik Johnston 4932a7e2d9 Use __all__ instead of assert to stop pyflakes from warning about unused import in __init__ 10 years ago
Erik Johnston a08bf11138 Appease PEP8 10 years ago
Erik Johnston 204132a998 Check that postgres database has correct charset set 10 years ago
Erik Johnston 2732be83d9 Shuffle operations so that locking upsert happens last in the txn. This ensures the lock is held for the least amount of time possible. 10 years ago
Erik Johnston e4c4664d73 Handle the fact that postgres databases can be restarted from under us 10 years ago
Erik Johnston e1c0970c11 PEP8 10 years ago
Erik Johnston b8092fbc82 Go back to storing JSON in TEXT 10 years ago
Erik Johnston ffad75bd62 Remove mysql/maria support 10 years ago
Erik Johnston c756dfeb14 Correctly identify deadlocks 10 years ago
Erik Johnston 127fad17dd Add postgres database engine 10 years ago
Erik Johnston 58d8339966 Add support for postgres instead of mysql. Change sql accourdingly. blob + varbinary -> bytea. No support for UNSIGNED or CREATE INDEX IF NOT EXISTS. 10 years ago
Erik Johnston c5365dee56 Use case sensitive collations 10 years ago
Erik Johnston 7ed2ec3061 Handle the fact that in sqlite binary data might be stored as unicode or bytes 10 years ago
Erik Johnston 24d8134ac1 Fix maria engine to correctly recognize deadlocks 10 years ago
Erik Johnston 49d6aa1394 Retry on deadlock 10 years ago
Erik Johnston 779f7b0f44 Fix unicode support 10 years ago
Erik Johnston 9236136f3a Make work in both Maria and SQLite. Fix tests 10 years ago