| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add basic support of unique constraints reflectionpr/4 | Roman Podolyaka | 2013-06-09 | 1 | -0/+30 |
| | | | | | | | | | | | | | Inspection API already supports reflection of table indexes information and those also include unique constraints (at least for PostgreSQL and MySQL). But it could be actually useful to distinguish between indexes and plain unique constraints (though both are implemented in the same way internally in RDBMS). This change adds a new method to Inspection API - get_unique_constraints() and implements it for SQLite, PostgreSQL and MySQL dialects. | ||||
| * | Merge branch 'rel_0_9' | Mike Bayer | 2013-05-29 | 3 | -46/+43 |
| |\ | | | | | | | | | | | | | Conflicts: lib/sqlalchemy/dialects/postgresql/hstore.py lib/sqlalchemy/util/__init__.py lib/sqlalchemy/util/compat.py | ||||
| | * | - repair for py3k | Mike Bayer | 2013-05-29 | 1 | -1/+6 |
| | | | | | | | | | - fix test | ||||
| | * | Unicode support for psycopg2 native hstore implementation | Dmitry Mugtasimov | 2013-05-29 | 1 | -1/+2 |
| | | | |||||
| | * | hstores are text, and in py3k they seem to be implcitly unicode. so | Mike Bayer | 2013-05-29 | 1 | -10/+26 |
| | | | | | | | | | | | add unicode encoding for py2k for the non-native hstore, pullreq for native psycopg2 support coming.... | ||||
| | * | postgresql tests | Mike Bayer | 2013-05-26 | 2 | -21/+19 |
| | | | |||||
| | * | postgresql dialect tests | Mike Bayer | 2013-04-28 | 2 | -27/+25 |
| | | | |||||
| | * | - the raw 2to3 run | Mike Bayer | 2013-04-27 | 3 | -46/+49 |
| | | | | | | | | | - went through examples/ and cleaned out excess list() calls | ||||
| * | | add the py2k symbol from the 0.9 branch to support the hstore change | Mike Bayer | 2013-05-29 | 1 | -0/+1 |
| | | | |||||
| * | | - repair for py3k | Mike Bayer | 2013-05-29 | 1 | -1/+6 |
| | | | | | | | | | - fix test | ||||
| * | | Unicode support for psycopg2 native hstore implementation | Dmitry Mugtasimov | 2013-05-29 | 1 | -1/+2 |
| | | | |||||
| * | | hstores are text, and in py3k they seem to be implcitly unicode. so | Mike Bayer | 2013-05-29 | 1 | -10/+26 |
| |/ | | | | | add unicode encoding for py2k for the non-native hstore, pullreq for native psycopg2 support coming.... | ||||
| * | need to test for (list, tuple) here and not hasattr("__iter__") | Mike Bayer | 2013-04-26 | 1 | -1/+4 |
| | | | | | since Py3K strings have __iter__ | ||||
| * | - only search in the exception before the first newline, to avoid | Mike Bayer | 2013-04-23 | 1 | -2/+3 |
| | | | | | false positives for SQL statements containing certain text | ||||
| * | Opened up the checking for "disconnect" with psycopg2/libpq | Mike Bayer | 2013-04-22 | 1 | -18/+21 |
| | | | | | | | | | to check for all the various "disconnect" messages within the full exception hierarchy. Specifically the "closed the connection unexpectedly" message has now been seen in at least three different exception types. [ticket:2712] | ||||
| * | tweak this some more to handle the array being empty again | Mike Bayer | 2013-04-22 | 1 | -5/+3 |
| | | |||||
| * | - change to [ticket:2681], pre-coerce the array to list | Mike Bayer | 2013-04-22 | 1 | -16/+6 |
| | | | | | unconditonally instead so that it works in all cases. | ||||
| * | The operators for the Postgresql ARRAY type supports | Mike Bayer | 2013-04-22 | 1 | -1/+13 |
| | | | | | | | | | | | input types of sets, generators, etc. but only when a dimension is specified for the ARRAY; otherwise, the dialect needs to peek inside of "arr[0]" to guess how many dimensions are in use. If this occurs with a non list/tuple type, the error message is now informative and directs to specify a dimension for the ARRAY. [ticket:2681] | ||||
| * | Corrected silly circular import introduced by original "fix". | Ben Trofatter | 2013-03-18 | 2 | -3/+4 |
| | | |||||
| * | Added HSTORE to ischema_names in dialects/postgresql/base.py | Ben Trofatter | 2013-03-18 | 1 | -0/+2 |
| | | |||||
| * | Added support for Postgresql's traditional SUBSTRING | Mike Bayer | 2013-03-09 | 1 | -2/+10 |
| | | | | | | | | function syntax, renders as "SUBSTRING(x FROM y FOR z)" when regular ``func.substring()`` is used. Also in 0.7.11. Courtesy Gunnlaugur Por Briem. [ticket:2676] | ||||
| * | - remove all compat items that are pre-2.5 (hooray) | Mike Bayer | 2013-03-09 | 2 | -2/+2 |
| | | | | | | | - other cleanup - don't need compat.decimal, that approach never panned out. hopefully outside libs aren't pulling it in, they shouldn't be | ||||
| * | add any/all to __all__ | Mike Bayer | 2013-01-28 | 1 | -1/+2 |
| | | |||||
| * | - documentation for any()/all() | Mike Bayer | 2013-01-28 | 1 | -12/+64 |
| | | |||||
| * | Add ANY/ALL construct support for PostgreSQL's ARRAY type | Audrius Kažukauskas | 2013-01-28 | 2 | -1/+63 |
| | | |||||
| * | Fixing a code block in the PostgreSQL base dialect docstring. | Taavi Burns | 2013-01-25 | 1 | -1/+1 |
| | | |||||
| * | - fix a format issue in the create index | Mike Bayer | 2013-01-17 | 1 | -1/+1 |
| | | |||||
| * | :class:`.Index` now supports arbitrary SQL expressions and/or | Mike Bayer | 2013-01-16 | 1 | -11/+11 |
| | | | | | | | | | functions, in addition to straight columns. Common modifiers include using ``somecolumn.desc()`` for a descending index and ``func.lower(somecolumn)`` for a case-insensitive index, depending on the capabilities of the target backend. [ticket:695] | ||||
| * | Fixed bug in :func:`.postgresql.array` construct whereby using it | Mike Bayer | 2013-01-02 | 1 | -1/+1 |
| | | | | | | inside of an :func:`.expression.insert` construct would produce an error regarding a parameter issue in the ``self_group()`` method. | ||||
| * | happy new year (see #2645) | Diana Clarke | 2013-01-01 | 7 | -7/+7 |
| | | |||||
| * | internally at least refer to multirow as "multivalues", to distinguish between | Mike Bayer | 2012-12-08 | 1 | -1/+1 |
| | | | | | | an INSERT that's used in executemany() as opposed to one which has a VALUES clause with multiple entries. | ||||
| * | compiler: add support for multirow inserts | Idan Kamara | 2012-12-06 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | Some databases support this syntax for inserts: INSERT INTO table (id, name) VALUES ('v1', 'v2'), ('v3', 'v4'); which greatly increases INSERT speed. It is now possible to pass a list of lists/tuples/dictionaries as the values param to the Insert construct. We convert it to a flat dictionary so we can continue using bind params. The above query will be converted to: INSERT INTO table (id, name) VALUES (:id, :name), (:id0, :name0); Currently only supported on postgresql, mysql and sqlite. | ||||
| * | HSTORE.comparator_factory should subclass Concatenable.Comparator | Audrius Kažukauskas | 2012-11-21 | 1 | -9/+4 |
| | | |||||
| * | Add special containment operation methods for PG array type | Audrius Kažukauskas | 2012-11-20 | 1 | -3/+39 |
| | | |||||
| * | just a pep8 pass of lib/sqlalchemy/dialects/postgresql | Diana Clarke | 2012-11-19 | 6 | -87/+126 |
| | | |||||
| * | oops, this needs to be MutableDict | Mike Bayer | 2012-11-18 | 1 | -3/+4 |
| | | |||||
| * | - hstore documentation, migration | Mike Bayer | 2012-11-17 | 2 | -40/+62 |
| | | | | | - don't need a custom exception here, just use ValueError | ||||
| * | - hstore adjustments | Mike Bayer | 2012-11-17 | 3 | -53/+100 |
| | | |||||
| * | Register HStore adapter and typecaster in psycopg2 dialect | Audrius Kažukauskas | 2012-11-15 | 1 | -0/+26 |
| | | |||||
| * | Add PostgreSQL HStore type support | Audrius Kažukauskas | 2012-11-13 | 2 | -5/+314 |
| | | |||||
| * | - rework the sphinx customizations into distinct modules | Mike Bayer | 2012-10-19 | 5 | -69/+27 |
| | | | | | | | | - build a new Sphinx extension that allows dialect info to be entered as directives which is then rendered consistently throughout all dialect/dbapi sections - break out the "empty_strings" requirement for oracle test | ||||
| * | - move out maxdb | Mike Bayer | 2012-10-18 | 5 | -9/+44 |
| | | | | | | | - begin consolidating docs for dialects to be more self contained - add a separate section for "external" dialects - not sure how we're going to go with this yet. | ||||
| * | - [bug] Added 'terminating connection' to the list | Mike Bayer | 2012-09-25 | 1 | -1/+2 |
| | | | | | | | of messages we use to detect a disconnect with PG, which appears to be present in some versions when the server is restarted. [ticket:2570] | ||||
| * | - [bug] Columns in reflected primary key constraint | Mike Bayer | 2012-09-23 | 1 | -11/+24 |
| | | | | | | | | are now returned in the order in which the constraint itself defines them, rather than how the table orders them. Courtesy Gunnlaugur Por Briem. [ticket:2531]. | ||||
| * | - genericize the test for ischema_names | Mike Bayer | 2012-09-16 | 1 | -4/+4 |
| | | | | | | - some fixes to the patch to handle empty args, whitespace - changelog clarifies where this API fits at the moment | ||||
| * | remove print statement in PGDialect._get_column_info | Éric Lemoine | 2012-09-12 | 1 | -1/+0 |
| | | |||||
| * | adjust a comment in PGDialect._get_column_info | Éric Lemoine | 2012-09-12 | 1 | -2/+2 |
| | | |||||
| * | breaking up PGDialect.get_columns, and add PostGIS column reflection tests | Éric Lemoine | 2012-09-12 | 1 | -102/+109 |
| | | |||||
| * | support for reflecting PostGIS columns | Éric Lemoine | 2012-09-11 | 1 | -4/+6 |
| | | |||||
| * | Fixed wrong regex pattern -- group vendor name | Hong Minhee | 2012-08-31 | 1 | -1/+1 |
| | | |||||
