Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pg8000 now supports sane_multi_rowcountpr/125 | Tony Locke | 2014-08-02 | 1 | -1/+1 |
| | | | | | From pg8000-1.9.14 sane_multi_rowcount is supported so this commit updates the dialect accordingly. | ||||
* | two_phase_recover, COMMIT PREPARED in transaction | Tony Locke | 2014-08-02 | 2 | -4/+4 |
| | | | | | | | | | | | | | | In test/engine/test_transaction/test_two_phase_recover(), a COMMIT PREPARED is issued while in a transaction. This causes an error, and a prepared transaction is left hanging around which causes the subsequent test to hang. I've altered the test to execute the offending query with autocommit=true, then when it gets to the COMMIT PRPARED it can go ahead. There's another complication for pg8000 because its tpc_recover() method started a transaction if one wasn't already in progress. I've decided that this is incorrect behaviour and so from pg8000-1.9.13 this method never starts or stops a transaction. | ||||
* | Remove spurious print statements in pg8000 dialect | Tony Locke | 2014-08-02 | 1 | -2/+0 |
| | |||||
* | PEP8 tidy of test/engine/test_reconnect | Tony Locke | 2014-08-02 | 1 | -58/+52 |
| | |||||
* | With pg8000-1.9.13 passes engine/test_reconnect | Tony Locke | 2014-08-02 | 1 | -10/+0 |
| | | | | | | | The pg8000 dialect checks the text of the exception to determine if the connection is closed. I'd (recklessly!) changed the text of the exception in a recent version of the pg8000 driver adding capitalization and a full stop. I've changed it back now so all works. | ||||
* | - update the literal binds section | Mike Bayer | 2014-07-30 | 1 | -43/+24 |
| | |||||
* | - workaround removal of nested() in py3k | Mike Bayer | 2014-07-30 | 3 | -2/+37 |
| | |||||
* | - ensure all tests are named test_* | Mike Bayer | 2014-07-30 | 11 | -47/+48 |
| | |||||
* | - repair test finding to not skip the test_suite tests | Mike Bayer | 2014-07-30 | 2 | -2/+1 |
| | |||||
* | - fix unit test affected by #3075 | Mike Bayer | 2014-07-29 | 1 | -5/+8 |
| | |||||
* | pep8 cleanup | Mike Bayer | 2014-07-29 | 1 | -285/+342 |
| | |||||
* | - The exception wrapping system for DBAPI errors can now accommodate | Mike Bayer | 2014-07-29 | 4 | -4/+53 |
| | | | | | | | | non-standard DBAPI exceptions, such as the psycopg2 TransactionRollbackError. These exceptions will now be raised using the closest available subclass in ``sqlalchemy.exc``, in the case of TransactionRollbackError, ``sqlalchemy.exc.OperationalError``. fixes #3075 | ||||
* | - Fixed 0.9.7 regression caused by :ticket:`3067` in conjunction with | Mike Bayer | 2014-07-29 | 3 | -2/+14 |
| | | | | | | a mis-named unit test such that so-called "schema" types like :class:`.Boolean` and :class:`.Enum` could no longer be pickled. fixes #3144 | ||||
* | - find the remaining not cleaning up correctly test | Mike Bayer | 2014-07-28 | 1 | -1/+2 |
| | |||||
* | fix test ordering issues | Mike Bayer | 2014-07-27 | 4 | -66/+44 |
| | |||||
* | - remove print statement | Mike Bayer | 2014-07-27 | 1 | -3/+4 |
| | | | | - ensure non-tests wont run | ||||
* | - exclude profiling altogether from coverage | Mike Bayer | 2014-07-27 | 1 | -0/+1 |
| | |||||
* | - disable C exts on coverage run | Mike Bayer | 2014-07-27 | 1 | -0/+3 |
| | |||||
* | - remove debugging assertions | Mike Bayer | 2014-07-27 | 2 | -9/+5 |
| | | | | - keep sqlite as memory even with parallel for now | ||||
* | - add support for tags, including include/exclude support. | Mike Bayer | 2014-07-27 | 14 | -76/+192 |
| | | | | simplify tox again now that we can exclude tests more easily | ||||
* | - reorganize tox options | Mike Bayer | 2014-07-26 | 2 | -27/+37 |
| | |||||
* | Merge branch 'master' into xdist_poc | Mike Bayer | 2014-07-26 | 1 | -2/+3 |
|\ | |||||
| * | fix paren here | Mike Bayer | 2014-07-26 | 1 | -2/+3 |
| | | |||||
* | | - scale up for mysql, sqlite | Mike Bayer | 2014-07-26 | 7 | -113/+282 |
| | | |||||
* | | Merge branch 'master' into xdist_poc | Mike Bayer | 2014-07-26 | 8 | -153/+227 |
|\ \ | |/ | | | | | | | Conflicts: lib/sqlalchemy/engine/url.py | ||||
| * | - rework the exclusions system to have much better support for compound | Mike Bayer | 2014-07-26 | 7 | -151/+231 |
| | | | | | | | | rules, better message formatting | ||||
| * | - fix whitespace | Mike Bayer | 2014-07-25 | 1 | -2/+2 |
| | | |||||
* | | - use a template database for PG so extensions get created automatically | Mike Bayer | 2014-07-25 | 1 | -4/+7 |
| | | |||||
* | | Merge branch 'master' into xdist_poc | Mike Bayer | 2014-07-25 | 2 | -0/+3 |
|\ \ | |/ | |||||
| * | - restore non_updating_cascade to test_manytomany_nonpassive, but also | Mike Bayer | 2014-07-25 | 2 | -0/+3 |
| | | | | | | | | add sane_multi_rowcount requirement, as pg8000 doesn't do "multi" row count. | ||||
* | | - proof of concept for parallel testing | Mike Bayer | 2014-07-25 | 6 | -13/+102 |
|/ | |||||
* | - more pg8000 tests passing | Mike Bayer | 2014-07-25 | 7 | -7/+24 |
| | |||||
* | Merge remote-tracking branch 'origin/pr/117' into pg8000 | Mike Bayer | 2014-07-25 | 7 | -2003/+2313 |
|\ | |||||
| * | PEP8 tidy of test/orm/test_dynamic.pypr/117 | Tony Locke | 2014-07-20 | 1 | -110/+83 |
| | | |||||
| * | Fixes for pg8000 for test/orm/test_dynamic.py | Tony Locke | 2014-07-20 | 1 | -5/+7 |
| | | |||||
| * | PEP8 tidy of test/orm/test_froms.py | Tony Locke | 2014-07-20 | 1 | -949/+1047 |
| | | |||||
| * | Opened test_self_referential for pg8000 | Tony Locke | 2014-07-20 | 1 | -2/+1 |
| | | | | | | | | | | The test orm/test_froms.py test_self_referential works with pg8000 now, so I've opened it up. | ||||
| * | PEP8 tidy for test/orm/test_naturalpks.py | Tony Locke | 2014-07-20 | 1 | -212/+235 |
| | | |||||
| * | Remove requirement for manytomany_nonpassive | Tony Locke | 2014-07-20 | 1 | -1/+0 |
| | | | | | | | | | | | | Removed the non_updating_cascade requirement from test_manytomany_nonpassive. This is because setting passive_updates=False in a relationship should work on *all* dialects. | ||||
| * | PEP8 tidy of test/orm/test_query.py | Tony Locke | 2014-07-20 | 1 | -472/+600 |
| | | |||||
| * | pg8000 passing test/orm/test_query.py | Tony Locke | 2014-07-20 | 1 | -3/+3 |
| | | |||||
| * | PEP8 tidy for test/orm/test_transaction.py | Tony Locke | 2014-07-19 | 1 | -106/+144 |
| | | |||||
| * | Fix support for two phase commit in pg8000 dialect | Tony Locke | 2014-07-19 | 1 | -0/+19 |
| | | | | | | | | | | | | | | The postgresql base dialect has problems with two-phase commit because there isn't a standard way of handling autocommit in DBAPI. This commit modifies the pg8000 dialect to use the DBAPI tpc extension, which is supported by pg8000 as of version 1.9.11. | ||||
| * | PEP8 tidy for test/orm/test_versioning.py | Tony Locke | 2014-07-19 | 1 | -148/+179 |
| | | |||||
* | | - Fixed bug in :class:`.postgresql.array` object where comparison | Mike Bayer | 2014-07-25 | 3 | -0/+39 |
| | | | | | | | | | | to a plain Python list would fail to use the correct array constructor. Pull request courtesy Andrew. fixes #3141 | ||||
* | | Merge remote-tracking branch 'origin/pr/124' into issue3141 | Mike Bayer | 2014-07-25 | 1 | -1/+1 |
|\ \ | |||||
| * | | Fix argument to array() in array._bind_param()pr/124 | Andrew | 2014-07-24 | 1 | -1/+1 |
| | | | | | | | | | array.__init__() expects a list as its sole parameter but inside _bind_param(), instead of sending a list it's sending each item in the list as a separate argument which is incorrect. | ||||
* | | | - flake8 all of test/dialect/postgresql | Mike Bayer | 2014-07-25 | 5 | -758/+995 |
| | | | | | | | | | | | | - add __backend__ to most tests so that pg8000 can start coming in | ||||
* | | | - The MySQL dialect will now disable :meth:`.ConnectionEvents.handle_error` | Mike Bayer | 2014-07-25 | 5 | -4/+59 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | events from firing for those statements which it uses internally to detect if a table exists or not. This is achieved using an execution option ``skip_user_error_events`` that disables the handle error event for the scope of that execution. In this way, user code that rewrites exceptions doesn't need to worry about the MySQL dialect or other dialects that occasionally need to catch SQLAlchemy specific exceptions. | ||||
* | | | - use a variant with expected collation here for mysql | Mike Bayer | 2014-07-25 | 1 | -5/+2 |
| | | |