summaryrefslogtreecommitdiff
path: root/src/mailman/database/postgresql.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* Rebase mailman/mailman!180 and cleanup # noqaBarry Warsaw2016-07-281-2/+2
|
* Don't use `flake8: noqa`.Barry Warsaw2016-04-011-2/+2
| | | | | | | This suppresses all errors in the file. Use `noqa`, although pep8 doesn't honor this for all errors. There may be a plugin which helps.
* Clean up the database directory.Barry Warsaw2016-03-241-8/+4
|
* Super duper.Barry Warsaw2016-01-261-1/+1
| | | | | * Python 3-ify super() calls. * Remove a bunch of obsolete exception classes.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* * The test suite now runs successfully again with PostgreSQL. Given byBarry Warsaw2015-04-221-5/+10
|\ | | | | | | Aurélien Bompard. (LP: #1435941)
| * PostgreSQL: fix autoincrement reset in testsAurélien Bompard2015-04-221-5/+9
|/
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-3/+0
|
* PostgreSQL support by Abhilash, cleaned by Barry.Barry Warsaw2014-09-271-6/+4
|\
| * Add support for postgresqlAbhilash Raj2014-09-251-5/+4
|/ | | | | | | | | * revert changes in message_id_has encoding by barry * Change message_id_hash column to LargeBinary (from previously mistaken one i.e.unicode) * add missing import in database/types.py * fix a bug in database/Model.py, transaction has no method abort(), instead it is rollback()
* We do not need _database_exists() or _make_temporary() any more either.Barry Warsaw2014-09-231-50/+1
|
* Since we don't have migrations, we don't need the ITemporaryDatabase stuff,Barry Warsaw2014-09-231-2/+0
| | | | | nor do we need the TAG mechanism. We also don't need load_sql() or load_migrations().
* * change declarative_base class to use ModelMeta classAbhilash Raj2014-09-061-2/+2
| | | | * update some queries to match SA style
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* The final bit of refactoring puts the specifics of making a temporary databaseBarry Warsaw2012-07-251-0/+40
| | | | into the hands of the database modules, by using ZCA adapters.
* Fix resetting PostgreSQL databases, thus making the full test suite pass withBarry Warsaw2012-07-251-38/+1
| | | | them.
* A few more tweaks to get PostgreSQL working.Barry Warsaw2012-07-251-4/+1
| | | | | - store.rollback() is better than store.execute('ABORT;') - We need to do a commit after the migrations are loaded.
* One more refactoring.Barry Warsaw2012-07-251-4/+4
|
* Refactor once again for SQLite/PostgreSQL differences.Barry Warsaw2012-07-251-0/+7
|
* No need to parameterize the exceptions, since Storm does this for us.Barry Warsaw2012-07-251-3/+0
|
* Very nearly there with PostgreSQL support for testing the beta2 migration.Barry Warsaw2012-07-251-4/+12
| | | | | | | | | - Improve migration logging - Disable pre_reset() and post_reset() on migrations, which might need to be re-enabled for SQLite support. - Be sure to record the migration version in PostgreSQL. - Parameterize the Error that will occur. - Better sample data for PostgreSQL and SQLite, which have different formats.
* Checkpointing Postgres port of test suite.Barry Warsaw2012-07-231-2/+30
| | | | | | | | | - Refactor load_schema() into a separate load_sql() method. - Add API for test suite to make a temporary database. - Add code to migrate the PostgreSQL database. - Comment out `moderation_callback` from the PostgreSQL SQL; this must have snuck in accidentally via the contributed port. - Refactor test_migrations.py
* * Schema migrations have been implemented.Barry Warsaw2012-02-121-5/+3
|
* copybumpBarry Warsaw2012-01-011-1/+1
|
* Add database specific pre- and post- reset callbacks. Use this to implementBarry Warsaw2011-10-231-1/+21
| | | | primary key reset for PostgreSQL, fixing several tests.
* Merge PostgreSQL support from Stephen A. Goss, with refactoring by Barry. LP:Barry Warsaw2011-10-221-0/+47
#860159.