summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix typopr/183Pete Hollobon2015-06-221-1/+1
|
* - repair that we use db_opts when the url here is different,Mike Bayer2015-06-191-3/+8
| | | | as we are using db_opts for the first time with legacy_schema_args
* - fixes to the warnings filtersMike Bayer2015-06-191-3/+1
|
* - more edits, references #3461Mike Bayer2015-06-192-18/+29
|
* - for #3455Mike Bayer2015-06-194-32/+75
| | | | | | | | | - changelog - versionadded + reflink for new pg storage parameters doc - pep8ing - add additional tests to definitely check that the Index object is created all the way with the opts we want fixes #3455
* Merge remote-tracking branch 'origin/pr/179' into pr179Mike Bayer2015-06-193-3/+99
|\
| * Add reflection of PostgreSQL index access methods (USING clause)pr/179Pete Hollobon2015-06-042-3/+32
| |
| * Add reflection of PostgreSQL index storage optionsPete Hollobon2015-06-042-3/+29
| |
| * Add support for PostgreSQL index storage parametersPete Hollobon2015-06-032-0/+41
| | | | | | | | | | Add support for specifying PostgreSQL index storage paramters (e.g. fillfactor).
* | - fix the bulletsMike Bayer2015-06-192-19/+26
| | | | | | | | | | | | - tone down the "never dispose an engine" language - refer to NullPool for the "I don't like pooling" use case references #3461
* | - Fixed 1.0 regression where the enhanced behavior of single-inheritanceMike Bayer2015-06-193-3/+39
| | | | | | | | | | | | | | | | joins of :ticket:`3222` takes place inappropriately for a JOIN along explicit join criteria with a single-inheritance subclass that does not make use of any discriminator, resulting in an additional "AND NULL" clause. fixes #3462
* | - add explciit section on engine disposal, fixes #3461Mike Bayer2015-06-192-14/+64
| |
* | - automap is stableMike Bayer2015-06-181-6/+0
| |
* | - Repaired the :class:`.ExcludeConstraint` construct to support commonMike Bayer2015-06-165-22/+108
| | | | | | | | | | | | | | features that other objects like :class:`.Index` now do, that the column expression may be specified as an arbitrary SQL expression such as :obj:`.cast` or :obj:`.text`. fixes #3454
* | - add a subsection on how to use Sequence with server_default,Mike Bayer2015-06-161-0/+40
| | | | | | | | fixes #3453
* | - remove the redundant non-max-row-buffer test from the max_row_bufferMike Bayer2015-06-141-12/+0
| | | | | | | | test as we implemented that as a separate test.
* | Merge branch 'pr182'Mike Bayer2015-06-149-61/+172
|\ \
| * | - add test cases for pullreq github:182, where we add a newMike Bayer2015-06-145-53/+155
| | | | | | | | | | | | | | | | | | | | | | | | "max_row_buffer" execution option for BufferedRowResultProxy - also add documentation, changelog and version notes - rework the max_row_buffer argument to be interpreted from the execution options upfront when the BufferedRowResultProxy is first initialized.
| * | - Add a new le_() assertion for less than or equalsMike Bayer2015-06-143-8/+14
| | | | | | | | | | | | | | | - fix TablesTest to use the bind that we've returned from setup_bind() to emit DELETE statements
| * | Added max_row_buffer attribute to the context execution options and usepr/182Morgan McClure2015-06-132-3/+9
| | | | | | | | | | | | it to prevent excess memory usage with yield_per
| * | BufferedRowResultProxy should stop growing at 100Morgan McClure2015-06-131-4/+1
| | |
* | | - revert this change which was inadvertently included in theMike Bayer2015-06-131-2/+1
| | | | | | | | | | | | fix for #3451
* | | - restore the approach we have for pk_params, but in orderMike Bayer2015-06-131-6/+8
| | | | | | | | | | | | | | | to suit #3451 exclude these columns from the "params" dictionary in the first place, revises pr github:181
* | | - add changelog for #3451, with 09485d733131b667813f44eb0b6807b698668ee7 ↵Mike Bayer2015-06-133-1/+33
| | | | | | | | | | | | | | | | | | fixes #3451 - also add a bulk_insert_mappings test
* | | Fix primary key behaviour in bulk_updatepr/181Patrick Hayes2015-06-132-10/+39
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suppose you have a model class with a primary key. Base = declarative_base() class User(Base): id = Column(BigInteger, primary_key=True) name = Column(String) Previously, running `bulk_update_mappings(User, {'id': 1, 'name': 'hello'})` would emit the following: ```UPDATE users SET id=1, name='hello' WHERE id=1``` This is contrary to the stated behaviour, where primary keys are omitted from the SET clause. Furthermore, this behaviour is harmful, as it can cause the db engine to lock over-aggresively (at least in Postgres). With this change, the emitted SQL is: ```UPDATE users SET name='hello' WHERE id=1```
* | - Fixed an unexpected-use regression whereby custom :class:`.Comparator`Mike Bayer2015-06-115-2/+40
| | | | | | | | | | | | | | | | | | | | objects that made use of the ``__clause_element__()`` method and returned an object that was an ORM-mapped :class:`.InstrumentedAttribute` and not explicitly a :class:`.ColumnElement` would fail to be correctly handled when passed as an expression to :meth:`.Session.query`. The logic in 0.9 happened to succeed on this, so this use case is now supported. fixes #3448
* | - add an 0.9 migration note regarding TypeEngine's defaultMike Bayer2015-06-101-1/+65
| | | | | | | | constructor removal; fixes #3446
* | - Fixed a bug where clause adaption as applied to a :class:`.Label`Mike Bayer2015-06-093-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | object would fail to accommodate the labeled SQL expression in all cases, such that any SQL operation that made use of :meth:`.Label.self_group` would use the original unadapted expression. One effect of this would be that an ORM :func:`.aliased` construct would not fully accommodate attributes mapped by :obj:`.column_property`, such that the un-aliased table could leak out when the property were used in some kinds of SQL comparisons. fixes #3445
* | - add a migration note for the query.update()/query.delete() changeMike Bayer2015-06-091-1/+15
| | | | | | | | in #3349
* | - add a comment, also I think we want to expire before we do theMike Bayer2015-06-091-1/+6
| | | | | | | | new begin, as begin_nested() does a flush
* | Merge remote-tracking branch 'origin/pr/180' into pr180Mike Bayer2015-06-091-1/+3
|\ \
| * | Expire session in testing transaction handlingpr/180Charles-Axel Dein2015-06-081-1/+3
| | |
* | | - Fixed an internal "memoization" routine for method types suchMike Bayer2015-06-083-22/+19
| | | | | | | | | | | | | | | that a Python descriptor is no longer used; repairs inspectability of these methods including support for Sphinx documentation.
* | | - start 1.0.6Mike Bayer2015-06-082-1/+4
|/ /
* | - 1.0.5rel_1_0_5Mike Bayer2015-06-072-2/+3
| |
* | - include tox.ini in the dist...Mike Bayer2015-06-071-1/+1
| |
* | - repair these tests to use the global manager_of_class fn,Mike Bayer2015-06-071-6/+7
| | | | | | | | | | | | as test_customfinder_pass at least does not provide the alternate ext manager and in all cases it's the global function that counts
* | - Added new engine event :meth:`.ConnectionEvents.engine_disposed`.Mike Bayer2015-06-064-0/+50
| | | | | | | | Called after the :meth:`.Engine.dispose` method is called.
* | - Repaired some typing and test issues related to the pypyMike Bayer2015-06-058-47/+103
| | | | | | | | | | | | | | | | | | psycopg2cffi dialect, in particular that the current 2.7.0 version does not have native support for the JSONB type. The version detection for psycopg2 features has been tuned into a specific sub-version for psycopg2cffi. Additionally, test coverage has been enabled for the full series of psycopg2 features under psycopg2cffi. fixes #3439
* | - document SQlite dotted name issue, fixes #3441Mike Bayer2015-06-051-0/+101
|/
* - correctly categorize this changelog entry and rewrite itMike Bayer2015-06-031-15/+10
| | | | | to be understandable, now that there's some time past since I first wrote it
* - fix this test to not require pyodbc installedMike Bayer2015-06-031-1/+2
|
* - changelog for pr bitbucket:54Mike Bayer2015-06-033-6/+33
| | | | - alter the approach so that the initial callable is working just like add_criteria/with_criteria
* baked: Support initial args for cache keyINADA Naoki2015-06-021-2/+2
| | | | | | | | | | | | When making baked query in classmethod of declarative base, cls should be added in cache key. @as_declarative class Base(object): @classmethod def baked_query(cls): return bakery(lambda: session.query(cls), (cls,))
* Merge remote-tracking branch 'origin/pr/176'Mike Bayer2015-05-291-2/+6
|\
| * Update to correct TDS version; FreeTDS only supports up to 7.3. 8.0 is not a ↵pr/176Allen, Timothy2015-05-281-2/+6
| | | | | | | | valid version (Microsoft released the spec late).
* | Fix typo in directivepr/177Éric Araujo2015-05-291-2/+1
|/
* Remove spaces around kwargs in metadata.rstpr/175Jochen Van de Velde2015-05-261-7/+7
|
* - Fixed bug where known boolean values used byMike Bayer2015-05-268-9/+69
| | | | | | | | :func:`.engine_from_config` were not being parsed correctly; these included ``pool_threadlocal`` and the psycopg2 argument ``use_native_unicode``. fixes #3435 - add legacy_schema_aliasing config parsing for mssql - move use_native_unicode config arg to the psycopg2 dialect
* - turn some dials to try to get more log outputMike Bayer2015-05-252-2/+2
|