summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add release date for 1.0.12 to changelogpr/241Jeff Widman2016-02-191-1/+1
|
* - further edit the unnest() example to suit PG's esoteric requirementsMike Bayer2016-02-181-4/+6
| | | | exactly
* - Fixed bug which would cause an eagerly loaded many-to-one attributeMike Bayer2016-02-174-9/+264
| | | | | | | | to not be loaded, if the joined eager load were from a row where the same entity were present multiple times, some calling for the attribute to be eagerly loaded and others not. The logic here is revised to take in the attribute even though a different loader path has handled the parent entity already. fixes #3431
* - handle parameter sets that aren't correctly formed, so thatMike Bayer2016-02-174-3/+33
| | | | | for example an exception object made within a test suite can still repr (error seen in Keystone)
* - do the trailing comma logic of tuple repr() exactlyMike Bayer2016-02-172-4/+25
|
* - All string formatting of bound parameter sets and result rows forMike Bayer2016-02-175-14/+250
| | | | | | | | | logging, exception, and ``repr()`` purposes now truncate very large scalar values within each collection, including an "N characters truncated" notation, similar to how the display for large multiple-parameter sets are themselves truncated. fixes #2837
* - add changelog, migration, version flags and some extra notesMike Bayer2016-02-164-1/+65
| | | | to the new MutableList and MutableSet classes, fixes #3297
* Merge remote-tracking branch 'origin/pr/236'Mike Bayer2016-02-162-1/+556
|\
| * Add `sqlalchemy.ext.mutable.MutableSet`pr/236Jeong YunWon2016-02-132-1/+260
| | | | | | | | from https://bitbucket.org/zzzeek/sqlalchemy/issues/3297
| * Add `sqlalchemy.ext.mutable.MutableList`Jeong YunWon2016-02-132-1/+297
| |
* | - use same colname as the alias we give to the PG functionMike Bayer2016-02-161-2/+2
|/ | | | here, fixes #3652
* - Fixed bug in :meth:`.Session.merge` where an object with a compositeMike Bayer2016-02-113-3/+63
| | | | | | | | primary key that has values for some but not all of the PK fields would emit a SELECT statement leaking the internal NEVER_SET symbol into the query, rather than detecting that this object does not have a searchable primary key and no SELECT should be emitted. fixes #3647
* - CTE functionality has been expanded to support all DML, allowingMike Bayer2016-02-1112-177/+503
| | | | | | | INSERT, UPDATE, and DELETE statements to both specify their own WITH clause, as well as for these statements themselves to be CTE expressions when they include a RETURNING clause. fixes #2551
* - add more documentation to MutableDict explainingMike Bayer2016-02-101-0/+12
| | | | | | that this structure is only intended to track additions and removals from the dictionary, not recursive tracking of embedded changes. fixes #3646.
* - don't drop the ts1/ts2 databases without seeing the primary DB,Mike Bayer2016-02-091-6/+21
| | | | | because we never log in on the ts1/ts2. races against other runs and erases their DBs
* - Fixed bug in :func:`.expression.text` construct where a double-colonMike Bayer2016-02-092-0/+19
| | | | | | expression would not escape properly, e.g. ``some\:\:expr``, as is most commonly required when rendering Postgresql-style CAST expressions. fixes #3644
* - A refinement to the logic which adds columns to the resulting SQL whenMike Bayer2016-02-095-23/+229
| | | | | | | | | | | | | :meth:`.Query.distinct` is combined with :meth:`.Query.order_by` such that columns which are already present will not be added a second time, even if they are labeled with a different name. Regardless of this change, the extra columns added to the SQL have never been returned in the final result, so this change only impacts the string form of the statement as well as its behavior when used in a Core execution context. Additionally, columns are no longer added when the DISTINCT ON format is used, provided the query is not wrapped inside a subquery due to joined eager loading. fixes #3641
* - switch to 2 workers for oracleMike Bayer2016-02-091-2/+4
|
* - Testing reveals that we have *no* weak references to any cx_Oracle ↵Mike Bayer2016-02-083-9/+58
| | | | | | | | connections at all, yet cx_Oracle still has open sessions that cannot be killed until process dies. Oracle wins! Add a completely separate DB reaper script that runs after py.test is done.
* - use config-based test schemaMike Bayer2016-02-081-5/+5
|
* - attempt a different style of session killMike Bayer2016-02-081-1/+2
|
* - fully hyperlink the docstring for make_transientMike Bayer2016-02-083-12/+49
| | | | | | | | | - establish make_transient and make_transient_to_detached as special-use, advanced use only functions - list all conditions under make_transient() under which an attribute will not be loaded and establish that make_transient() does not attempt to load all attributes before detaching the object from its session, fixes #3640
* - additional fixes to get oracle + multiprocess to be reliableMike Bayer2016-02-083-1/+12
|
* - py3k fix for enum featureMike Bayer2016-02-081-1/+4
|
* - add missing __backend__ directives for SQL serverMike Bayer2016-02-082-0/+6
|
* - add missing __backend__ directives so that oracle tests actually run with ↵Mike Bayer2016-02-081-0/+17
| | | | --backend-only
* - detect "Enterprise" and assume compression stuff isn't availableMike Bayer2016-02-081-0/+6
| | | | if not
* - adjust the MultiSchemaTest to handle multiple test_schemas / processes at theMike Bayer2016-02-081-5/+6
| | | | same time
* - adjust to allow dblink tests to work with multiprocess users.Mike Bayer2016-02-082-10/+4
| | | | | | unfortunately the synonym doesn't work for SQL statements here when the dblink is on a different user, testing this is not really critical so just removed it.
* - add a session killer for oracle provisioningMike Bayer2016-02-041-0/+5
|
* - add an impl for Enum to Oracle which has subclassing requirementsMike Bayer2016-02-041-0/+13
| | | | | | | on unicode. Enum would be better as a TypeDecorator at this point but then that becomes awkward with native enum types (Interval works that way, but we don't need the bind_processor for native interval...)
* - more oracle fixesMike Bayer2016-02-032-5/+10
|
* - oracle requires GLOBAL hereMike Bayer2016-02-032-2/+2
|
* - add multi-database provisioning for oracleMike Bayer2016-02-031-0/+29
|
* Fix typo in relationship persistance docsJosh Friend2016-02-031-1/+1
|
* - add literal_binds for delete() statements in addition to insert()/update()Mike Bayer2016-02-033-17/+36
| | | | | - move tests to CRUDTest - changelog, fixes #3643
* fix passing literal_binds flag through for update and insertpr/232Tim Tate2016-02-023-4/+21
|
* - changelog for #3621 fixes #3621Mike Bayer2016-02-021-0/+9
|
* Merge branch 'master' of https://bitbucket.org/carlrivers/sqlalchemyMike Bayer2016-02-021-2/+1
|\
| * Merged zzzeek/sqlalchemy into masterCarlos Rivas2016-01-26115-3287/+6926
| |\
| * \ Merged in carlrivers/removed-entry-that-causes-attributeerror-1453541002643 ↵Carlos Rivas2016-01-231-2/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | (pull request #1) Removed entry that causes AttributeError (#3621) - Oracle zxJDBC fails with AttributeError in object OracleCompiler_zxjdbc
| | * | Removed entry that causes AttributeError (#3621) - Oracle zxJDBC fails with ↵Carlos Rivas2016-01-231-2/+1
| |/ / | | | | | | | | | AttributeError in object OracleCompiler_zxjdbc
* | | - test fixes for metadata.enums value now being a listMike Bayer2016-02-022-24/+20
| | | | | | | | | | | | - modernize those tests as well
* | | - add changelog and migration notes for new Enum features,Mike Bayer2016-02-026-110/+393
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #3095, #3292 - reorganize enum constructor to again work with the MySQL ENUM type - add a new create_constraint flag to Enum to complement that of Boolean - reinstate the CHECK constraint tests for enum, these already fail /skip against the MySQL backend - simplify lookup rules in Enum, have them apply to all varieties of Enum equally
* | | - Initial implementation of support for PEP-435 enumerated typesAlex Grönholm2016-02-022-34/+128
| | | | | | | | | | | | within the Enum type.
* | | - D rules seem to have been added overnight to the flake8 pluginMike Bayer2016-02-021-1/+1
| | | | | | | | | | | | | | | I'm using and many of these seem contradictory and/or undesirable. block all until individual rules can be approved.
* | | - Fixed issue where inadvertent use of the Python ``__contains__``Mike Bayer2016-02-025-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | override with a column expression (e.g. by using ``'x' in col``) would cause an endless loop in the case of an ARRAY type, as Python defers this to ``__getitem__`` access which never raises for this type. Overall, all use of ``__contains__`` now raises NotImplementedError. fixes #3642
* | | - put a retry in for PG database provisioning as it locksMike Bayer2016-01-291-1/+14
| | | | | | | | | | | | on database use
* | | - The ``sqlalchemy.dialects.postgres`` module, long deprecated, isMike Bayer2016-01-295-19/+38
| | | | | | | | | | | | | | | | | | | | | removed; this has emitted a warning for many years and projects should be calling upon ``sqlalchemy.dialects.postgresql``. Engine URLs of the form ``postgres://`` will still continue to function, however.
* | | - happy new yearMike Bayer2016-01-29177-177/+177
| | |