summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 0.8.5 released same dayMike Bayer2014-02-191-0/+1
|
* 0.9.3Mike Bayer2014-02-192-2/+3
|
* skip this on oracleMike Bayer2014-02-191-0/+3
|
* - Added an additional message to psycopg2 disconnect detection,Mike Bayer2014-02-192-0/+10
| | | | | | "could not send data to server", which complements the existing "could not receive data from server" and has been observed by users, fixes #2936
* - re: #2967, also fixed a somewhat related issue where join rewriting would failMike Bayer2014-02-193-1/+46
| | | | | on the columns clause of the SELECT statement if the targets were aliased tables, as opposed to individual aliased columns.
* - Fixed bug in SQLite "join rewriting" where usage of an exists() constructMike Bayer2014-02-193-7/+67
| | | | | would fail to be rewritten properly, such as when the exists is mapped to a column_property in an intricate nested-join scenario. #2967
* - add a topological rule here to place PARTITIONS after PARTITION_BY,Mike Bayer2014-02-191-1/+2
| | | | for output consistency within the tests as well as in practice
* restore the check ahead of the lock to avoid using it after initializationMike Bayer2014-02-191-6/+7
| | | | is done
* backportMike Bayer2014-02-192-14/+16
|
* - Added new MySQL-specific :class:`.mysql.DATETIME` which includesMike Bayer2014-02-193-20/+108
| | | | | | | fractional seconds support; also added fractional seconds support to :class:`.mysql.TIMESTAMP`. DBAPI support is limited, though fractional seconds are known to be supported by MySQL Connector/Python. Patch courtesy Geert JM Vanderkelen. #2941
* changelog for pullreq 12Mike Bayer2014-02-191-0/+11
|
* Merge branch 'master' of https://bitbucket.org/50onred/sqlalchemy/overview ↵Mike Bayer2014-02-192-2/+32
|\ | | | | | | into t
| * Fixes MySQL dialect partitioningMarcus McCurdy2014-02-142-2/+32
| |
* | - Fixed bug where calling :meth:`.Insert.values` with an empty listMike Bayer2014-02-193-0/+33
| | | | | | | | | | or tuple would raise an IndexError. It now produces an empty insert construct as would be the case with an empty dictionary.
* | - Fixed a critical regression caused by :ticket:`2880` where the newlyMike Bayer2014-02-193-4/+61
| | | | | | | | | | | | concurrent ability to return connections from the pool means that the "first_connect" event is now no longer synchronized either, thus leading to dialect mis-configurations under even minimal concurrency situations.
* | - update mysql connector python link, #2938Mike Bayer2014-02-181-1/+1
| |
* | - Support has been improved for Postgresql reflection behavior on very oldMike Bayer2014-02-186-31/+55
| | | | | | | | | | | | | | | | | | | | | | | | (pre 8.1) versions of Postgresql, and potentially other PG engines such as Redshift (assuming Redshift reports the version as < 8.1). The query for "indexes" as well as "primary keys" relies upon inspecting a so-called "int2vector" datatype, which refuses to coerce to an array prior to 8.1 causing failures regarding the "ANY()" operator used in the query. Extensive googling has located the very hacky, but recommended-by-PG-core-developer query to use when PG version < 8.1 is in use, so index and primary key constraint reflection now work on these versions.
* | update docs re: cx_oracle unicode as of 0.9.2, no more outputtypehandlersMike Bayer2014-02-182-22/+33
| |
* | - dont need this import and it's not in 2.6 anywayMike Bayer2014-02-171-1/+0
| |
* | ill never remember this URL so put it hereMike Bayer2014-02-171-0/+1
| | | | | | | | e Please enter the commit message for your changes. Lines starting
* | - rewrite SQLite reflection tests into one consistent fixture, which testsMike Bayer2014-02-163-187/+181
| | | | | | | | both _resolve_type_affinity() directly as well as round trip tests fully.
* | - need qualifiers here...Mike Bayer2014-02-161-2/+2
| |
* | - The SQLite dialect will now skip unsupported arguments when reflectingMike Bayer2014-02-163-6/+33
| | | | | | | | | | | | types; such as if it encounters a string like ``INTEGER(5)``, the :class:`.INTEGER` type will be instantiated without the "5" being included, based on detecting a ``TypeError`` on the first attempt.
* | - changelog + documentation for pullreq github:65Mike Bayer2014-02-162-6/+71
| |
* | Merge branch 'master' of https://github.com/eblume/sqlalchemy into tMike Bayer2014-02-165-161/+237
|\ \
| * | SQLite dialect - support relection from affinitypr/65Erich Blume2014-02-033-18/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SQLite allows column types that aren't technically understood in sqlite by using 'data affinity', which is an algorithm for converting column types in to some sort of useful type that can be stored and retrieved from the db. Unfortunatly, this breaks reflection since we (previously) expected a sqlite db to reflect column types that we permit in the `ischema_names` for that dialect. This patch changes the logic for 'unknown' column types during reflection to instead run through SQLite's data affinity algorithm, and assigns appropriate types from that. It also expands the matching for column type to include column types with spaces (strongly discouraged but allowed by sqlite) and also completely empty column types (in which case the NullType is assigned, which sqlite will treat as a Blob - or rather, Blob is treated as NullType). These changes mean that SQLite will never raise an error for an unknown type during reflection - there will always be some 'useful' type returned, which follows the spirit of SQLite (accomodation before sanity!).
| * | PEP-8 compliance for dialects/sqlite/base.pyErich Blume2014-01-302-143/+129
| | |
| * | Don't include .egg files in the repoErich Blume2014-01-301-0/+1
| | |
* | | - changelog for pullreq github:64Mike Bayer2014-02-161-0/+7
| | |
* | | Merge pull request #64 from LevonXXL/mastermike bayer2014-02-161-0/+4
|\ \ \ | | | | | | | | python_type for ARRAY (PGArray)
| * | | python_type for ARRAY (PGArray)pr/64Terentev2014-02-031-0/+4
| | | |
* | | | - use column.info to detect those cols part of "versioning"Mike Bayer2014-02-163-28/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - pep8 cleanup - fix tests for "changed" column - document that "changed" is optional - changelog
* | | | Merge branch 'patch-1' of https://github.com/jplaverdure/sqlalchemy into tMike Bayer2014-02-161-3/+5
|\ \ \ \
| * | | | Switched to UTC Timestamppr/41jplaverdure2013-11-081-2/+2
| | | | |
| * | | | Added changed(timestamp) on _history table and supprot for schemasjplaverdure2013-11-081-3/+5
| | | | |
* | | | | this isn't really the mainstream use case here; would need to talkMike Bayer2014-02-161-6/+0
| | | | | | | | | | | | | | | | | | | | about non-equality operators in general.
* | | | | - extensive cross-linking of relationship options with their documentation ↵Mike Bayer2014-02-168-245/+419
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sections - convert all paramter references in relationship documentation to :paramref:
* | | | | remove redundant see alsoMike Bayer2014-02-161-3/+0
| | | | |
* | | | | - add cross-linking for passive_deletes / passive_updatesMike Bayer2014-02-164-13/+25
| | | | |
* | | | | - add documentation regarding native hstore flag, psycopg2Mike Bayer2014-02-161-4/+31
| | | | | | | | | | | | | | | | | | | | hstore extension. #2959
* | | | | - expand docs on MySQL table arguments beyond just storage enginesMike Bayer2014-02-151-30/+63
| | | | | | | | | | | | | | | | | | | | | | | | | - clarify section on "foreign key reflection" and group this in a section that refers to foreign keys.
* | | | | - cross link remote_side/self-referentialMike Bayer2014-02-142-15/+21
| | | | | | | | | | | | | | | | | | | | - trim off fn prefix on some relationship parameter names
* | | | | - Added server version detection to the newly added dialect startupMike Bayer2014-02-142-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | query for "show standard_conforming_strings"; as this variable was added as of PG 8.2, we skip the query for PG versions older than that as well as for backends like Redshift. #2946
* | | | | this is for 0.9.3 alsoMike Bayer2014-02-141-0/+1
| | | | |
* | | | | - Revised this very old issue where the Postgresql "get primary key"Mike Bayer2014-02-142-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reflection query were updated to take into account primary key constraints that were renamed; the newer query fails on very old versions of Postgresql such as version 7, so the old query is restored in those cases when server_version_info < (8, 0) is detected. #2291
* | | | | - use an OrderedDict here so that tests are more deterministicMike Bayer2014-02-141-2/+2
| |_|_|/ |/| | |
* | | | - Fixed bug where :meth:`.in_()` would go into an endless loop ifMike Bayer2014-02-133-3/+50
| | | | | | | | | | | | | | | | | | | | | | | | erroneously passed a column expression whose comparator included the ``__getitem__()`` method, such as a column that uses the :class:`.postgresql.ARRAY` type. [ticket:2957]
* | | | - Fixed bug where :class:`.AbstractConcreteBase` would fail to beMike Bayer2014-02-118-10/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fully usable within declarative relationship configuration, as its string classname would not be available in the registry of classnames at mapper configuration time. The class now explicitly adds itself to the class regsitry, and additionally both :class:`.AbstractConcreteBase` as well as :class:`.ConcreteBase` set themselves up *before* mappers are configured within the :func:`.configure_mappers` setup, using the new :meth:`.MapperEvents.before_configured` event. [ticket:2950] - Added new :meth:`.MapperEvents.before_configured` event which allows an event at the start of :func:`.configure_mappers`, as well as ``__declare_first__()`` hook within declarative to complement ``__declare_last__()``. - modified how after_configured is invoked; we just make a dispatch() not actually connected to any mapper. this makes it easier to also invoke before_configured correctly. - improved the ComparableEntity fixture to handle collections that are sets.
* | | | - changelog for [ticket:2934]Mike Bayer2014-02-111-0/+9
| | | |
* | | | Merge pull request #69 from sloat/pr2934mike bayer2014-02-111-1/+8
|\ \ \ \ | | | | | | | | | | Fixes server version parsing in cymysql dialect