Erik Johnston
|
ec398af41c
|
Expose error more nicely
|
2015-10-13 11:43:43 +01:00 |
Erik Johnston
|
40b6a5aad1
|
Split out the schema preparation and update logic into its own module
|
2015-10-13 11:38:48 +01:00 |
Erik Johnston
|
1d566edb81
|
Remove race condition
|
2015-05-14 16:54:35 +01:00 |
Erik Johnston
|
1692dc019d
|
Don't call 'encode_parameter' no-op
|
2015-05-05 15:00:30 +01:00 |
Erik Johnston
|
fabb7acd45
|
Fix bug where we reconnected to the database on every query.
|
2015-05-01 10:24:24 +01:00 |
Erik Johnston
|
cd0864121b
|
Make postgres database error slightly more helpful
|
2015-04-29 12:12:25 +01:00 |
Erik Johnston
|
4932a7e2d9
|
Use __all__ instead of assert to stop pyflakes from warning about unused import in __init__
|
2015-04-29 12:12:25 +01:00 |
Erik Johnston
|
a08bf11138
|
Appease PEP8
|
2015-04-29 11:44:48 +01:00 |
Erik Johnston
|
204132a998
|
Check that postgres database has correct charset set
|
2015-04-29 11:42:28 +01:00 |
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.
|
2015-04-27 13:22:30 +01:00 |
Erik Johnston
|
e4c4664d73
|
Handle the fact that postgres databases can be restarted from under us
|
2015-04-27 12:40:49 +01:00 |
Erik Johnston
|
e1c0970c11
|
PEP8
|
2015-04-16 11:18:45 +01:00 |
Erik Johnston
|
b8092fbc82
|
Go back to storing JSON in TEXT
|
2015-04-16 11:17:52 +01:00 |
Erik Johnston
|
ffad75bd62
|
Remove mysql/maria support
|
2015-04-15 17:00:50 +01:00 |
Erik Johnston
|
c756dfeb14
|
Correctly identify deadlocks
|
2015-04-15 10:23:42 +01:00 |
Erik Johnston
|
127fad17dd
|
Add postgres database engine
|
2015-04-14 14:50:29 +01:00 |
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.
|
2015-04-14 13:53:20 +01:00 |
Erik Johnston
|
c5365dee56
|
Use case sensitive collations
|
2015-04-10 18:46:33 +01:00 |
Erik Johnston
|
7ed2ec3061
|
Handle the fact that in sqlite binary data might be stored as unicode or bytes
|
2015-04-10 13:41:54 +01:00 |
Erik Johnston
|
24d8134ac1
|
Fix maria engine to correctly recognize deadlocks
|
2015-04-08 13:10:54 +01:00 |
Erik Johnston
|
49d6aa1394
|
Retry on deadlock
|
2015-04-07 15:28:37 +01:00 |
Erik Johnston
|
779f7b0f44
|
Fix unicode support
|
2015-04-02 10:06:22 +01:00 |
Erik Johnston
|
9236136f3a
|
Make work in both Maria and SQLite. Fix tests
|
2015-04-01 14:12:33 +01:00 |