Commit Graph

35 Commits (87b111f96a244cd212e8fff7f1a0f661fdd8073e)

Author SHA1 Message Date
Amber Brown 14e4d4f4bf
Port storage/ to Python 3 (#3725) 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Richard van der Hoff d1e56cfcd1 Fix pep8 error on psycopg2cffi hack 7 years ago
Vincent Breitmoser 89de934981 Use psycopg2cffi module instead of psycopg2 if running on pypy 7 years ago
Erik Johnston 3d33eef6fc
Store state groups separately from events (#2784) 7 years ago
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