summary refs log tree commit diff
path: root/synapse/storage/engines (follow)
Commit message (Expand)AuthorAgeFilesLines
* conditionally import psycopg2 github/shay/fix_sqlite shay/fix_sqliteH. Shay2022-06-061-2/+1
* conditionally import sqlite and postgres in engines/__init__.pyH. Shay2022-06-062-3/+6
* Tidy up and type-hint the database engine modules (#12734)David Robertson2022-05-174-94/+108
* Refuse to start if DB has an unsafe locale (#12262)Shay2022-03-231-15/+30
* Use psycopg2 type stubs (#12269)David Robertson2022-03-231-1/+1
* Db txn set isolation level (#11799)Nick Barrett2022-01-253-5/+50
* Drop support for and remove references to EOL Python 3.6 (#11683)Shay2022-01-211-2/+2
* Fix the inbound PDU metric (#10279)Erik Johnston2021-06-303-0/+16
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-144-4/+0
* Drop support for sqlite<3.22 as wellRichard van der Hoff2021-04-083-25/+5
* Require py36 and Postgres 9.6Richard van der Hoff2021-04-081-2/+2
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-163-9/+8
* Add experimental support for PyPy. (#9123)Jonathan de Jong2021-02-042-6/+8
* Reduce serialization errors in MultiWriterIdGen (#8456)Erik Johnston2020-10-073-1/+36
* Use SequenceGenerator for state group ID allocationRichard van der Hoff2020-07-163-25/+0
* Fix incorrect error message when database CTYPE was set incorrectly. (#7760)Richard van der Hoff2020-07-011-1/+1
* Persist user interactive authentication sessions (#7302)Patrick Cloke2020-04-301-0/+1
* Only import sqlite3 when type checking (#7155)David Vo2020-03-271-2/+5
* Add some type annotations in `synapse.storage` (#6987)Richard van der Hoff2020-02-274-23/+117
* Updated warning for incorrect database collation/ctype (#6985)Uday Bansal2020-02-261-3/+7
* Warn if postgres database has non-C locale. (#6734)Erik Johnston2020-01-282-0/+47
* Refuse to start if sqlite is older than 3.11.0Richard van der Hoff2020-01-092-4/+7
* Check postgres version in check_databaseRichard van der Hoff2020-01-091-13/+12
* Modify check_database to take a connection rather than a cursorRichard van der Hoff2020-01-092-9/+10
* Add database config class (#6513)Erik Johnston2019-12-181-3/+13
* Merge pull request #6156 from matrix-org/erikj/postgres_anyErik Johnston2019-10-102-0/+12
|\
| * Fix SQLiteErik Johnston2019-10-101-1/+1
| * Remove add_in_list_sql_clauseErik Johnston2019-10-102-0/+12
* | Disable bytes usage with postgresErik Johnston2019-10-081-0/+7
|/
* Fix `devices_last_seen` background update.Erik Johnston2019-09-302-0/+15
* Run Black. (#5482)Amber Brown2019-06-201-1/+1
* Remove Postgres 9.4 support (#5448)Amber Brown2019-06-181-2/+6
* Run black on the rest of the storage module (#4996)Amber Brown2019-04-033-22/+10
* Add database version to phonehome stats. (#4753)Richard van der Hoff2019-02-272-0/+34
* Fix UPSERTs on SQLite 3.24+ (#4477)Amber Brown2019-01-281-7/+3
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/sqlite_nat...Erik Johnston2019-01-251-2/+1
|\
| * Don't require sqlite3 when using postgres (#4466)Andrew Morgan2019-01-251-2/+1
* | Disable native upserts for sqlite, as they don't workErik Johnston2019-01-251-3/+7
|/
* Use native UPSERTs where possible (#4306)Amber Brown2019-01-243-1/+24
* Port storage/ to Python 3 (#3725)Amber Brown2018-08-311-2/+7
* run isortAmber Brown2018-07-092-6/+5
* Fix pep8 error on psycopg2cffi hackRichard van der Hoff2018-04-101-6/+5
* Use psycopg2cffi module instead of psycopg2 if running on pypyVincent Breitmoser2018-04-101-1/+7
* Store state groups separately from events (#2784)Erik Johnston2018-02-062-0/+25
* Optionally make committing to postgres asynchronous.Mark Haines2016-06-203-3/+14
* Don't require config to create databaseErik Johnston2016-04-063-20/+7
* Mark AS users with their AS's IDDaniel Wagner-Hall2016-02-113-6/+9
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-1/+1
* copyrightsMatthew Hodgson2016-01-074-4/+4
* Implement rank function for SQLite FTSErik Johnston2015-10-231-0/+27
* rename schema_prepare to prepare_databaseErik Johnston2015-10-132-2/+2
* Expose error more nicelyErik Johnston2015-10-132-2/+2
* Split out the schema preparation and update logic into its own moduleErik Johnston2015-10-132-2/+4
* Remove race conditionErik Johnston2015-05-142-0/+4
* Don't call 'encode_parameter' no-opErik Johnston2015-05-052-6/+0
* Fix bug where we reconnected to the database on every query.Erik Johnston2015-05-011-1/+1
* Make postgres database error slightly more helpfulErik Johnston2015-04-291-1/+2
* Use __all__ instead of assert to stop pyflakes from warning about unused impo...Erik Johnston2015-04-291-2/+3
* Appease PEP8Erik Johnston2015-04-291-0/+2
* Check that postgres database has correct charset setErik Johnston2015-04-294-0/+33
* Shuffle operations so that locking upsert happens last in the txn. This ensur...Erik Johnston2015-04-272-0/+6
* Handle the fact that postgres databases can be restarted from under usErik Johnston2015-04-272-0/+6
* PEP8Erik Johnston2015-04-161-2/+0
* Go back to storing JSON in TEXTErik Johnston2015-04-162-8/+0
* Remove mysql/maria supportErik Johnston2015-04-152-52/+0
* Correctly identify deadlocksErik Johnston2015-04-151-1/+1
* Add postgres database engineErik Johnston2015-04-141-0/+44
* Add support for postgres instead of mysql. Change sql accourdingly. blob + va...Erik Johnston2015-04-141-0/+2
* Use case sensitive collationsErik Johnston2015-04-101-1/+1
* Handle the fact that in sqlite binary data might be stored as unicode or bytesErik Johnston2015-04-102-1/+11
* Fix maria engine to correctly recognize deadlocksErik Johnston2015-04-081-2/+2
* Retry on deadlockErik Johnston2015-04-072-0/+8
* Fix unicode supportErik Johnston2015-04-023-1/+24
* Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-013-0/+90