]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
12 years agoRemove references to (previously removed) AbstractType
Vraj Mohan [Thu, 14 Nov 2013 18:33:31 +0000 (13:33 -0500)] 
Remove references to (previously removed) AbstractType

12 years agoImport CTE so that API doc can be generated
Vraj Mohan [Thu, 14 Nov 2013 17:51:14 +0000 (12:51 -0500)] 
Import CTE so that API doc can be generated

12 years agoChange CompileException references to ConpileError
Vraj Mohan [Thu, 14 Nov 2013 15:58:02 +0000 (10:58 -0500)] 
Change CompileException references to ConpileError

12 years agoFix references to exceptions
Vraj Mohan [Thu, 14 Nov 2013 15:42:35 +0000 (10:42 -0500)] 
Fix references to exceptions

12 years agoEnsure API generation of inherited members to resolve references
Vraj Mohan [Thu, 14 Nov 2013 15:42:01 +0000 (10:42 -0500)] 
Ensure API generation of inherited members to resolve references

12 years agoFix cross reference
Vraj Mohan [Thu, 14 Nov 2013 15:10:59 +0000 (10:10 -0500)] 
Fix cross reference

12 years agoEnsure API generation
Vraj Mohan [Thu, 14 Nov 2013 15:02:28 +0000 (10:02 -0500)] 
Ensure API generation

12 years agoRemove extra indentation
Vraj Mohan [Thu, 14 Nov 2013 14:17:52 +0000 (09:17 -0500)] 
Remove extra indentation

12 years agoEnsure API generation and fix cross references
Vraj Mohan [Wed, 13 Nov 2013 20:26:44 +0000 (15:26 -0500)] 
Ensure API generation and fix cross references

12 years agoFix cross-references in changelogs
Vraj Mohan [Wed, 13 Nov 2013 19:11:23 +0000 (14:11 -0500)] 
Fix cross-references in changelogs

12 years agoEnsure API doc for make_url and resolve references
Vraj Mohan [Wed, 13 Nov 2013 14:40:17 +0000 (09:40 -0500)] 
Ensure API doc for make_url and resolve references

12 years agoSuppress warnings about files not being included in any toctree
Vraj Mohan [Wed, 13 Nov 2013 13:41:52 +0000 (08:41 -0500)] 
Suppress warnings about files not being included in any toctree

12 years agoFix indentation and escape *args and **kwargs
Vraj Mohan [Wed, 13 Nov 2013 13:24:35 +0000 (08:24 -0500)] 
Fix indentation and escape *args and **kwargs

12 years agoFix indentation issues in docstrings
Vraj Mohan [Tue, 12 Nov 2013 23:18:04 +0000 (18:18 -0500)] 
Fix indentation issues in docstrings

12 years agoFix indentation and escape *args and **kwargs
Vraj Mohan [Tue, 12 Nov 2013 19:39:18 +0000 (14:39 -0500)] 
Fix indentation and escape *args and **kwargs

12 years agoFix cross references
Vraj Mohan [Mon, 11 Nov 2013 20:04:52 +0000 (15:04 -0500)] 
Fix cross references

12 years agoadd sap sqlanywhere
Mike Bayer [Tue, 12 Nov 2013 18:00:49 +0000 (13:00 -0500)] 
add sap sqlanywhere

12 years agomove the css to the base so that the site can override
Mike Bayer [Tue, 12 Nov 2013 01:27:40 +0000 (20:27 -0500)] 
move the css to the base so that the site can override

12 years agouse an explcit css block
Mike Bayer [Tue, 12 Nov 2013 01:20:11 +0000 (20:20 -0500)] 
use an explcit css block

12 years agoattempt to use the css_files list so that we can integrate css
Mike Bayer [Tue, 12 Nov 2013 00:45:43 +0000 (19:45 -0500)] 
attempt to use the css_files list so that we can integrate css
better with rtd

12 years ago0.3.2 please
Mike Bayer [Sun, 10 Nov 2013 08:04:12 +0000 (03:04 -0500)] 
0.3.2 please

12 years ago- tutorial updates
Mike Bayer [Sun, 10 Nov 2013 07:55:06 +0000 (02:55 -0500)] 
- tutorial updates
- emphasis on not using a custom contructor by default, making sure it's clear that
you *can* use one
- other separation of narrative from special notes using sidebars

12 years ago- some py3k compatibility
Mike Bayer [Sun, 10 Nov 2013 07:52:27 +0000 (02:52 -0500)] 
- some py3k compatibility

12 years ago- use a dictionary here
Mike Bayer [Sun, 10 Nov 2013 05:32:41 +0000 (00:32 -0500)] 
- use a dictionary here

12 years ago- add a new sphinx extension "viewsource". takes advantage of part of the viewcode...
Mike Bayer [Sun, 10 Nov 2013 00:42:01 +0000 (19:42 -0500)] 
- add a new sphinx extension "viewsource".  takes advantage of part of the viewcode extension
to allow ad-hoc display of the source of any file, as well as a "directory listing" structure.
- reorganize examples/ to take advantage of new extension.  in particular, keep moving all
the descriptive text for files etc. into module docstrings, taking more advantage of
self-documentation.

12 years agoinclude the start-line directive here so that we dont get warnings
Mike Bayer [Sat, 9 Nov 2013 21:07:04 +0000 (16:07 -0500)] 
include the start-line directive here so that we dont get warnings
for the headers in the included files

12 years agoalso update requirements file...
Mike Bayer [Sat, 9 Nov 2013 18:24:12 +0000 (13:24 -0500)] 
also update requirements file...

12 years ago- use pypi changelog plugin
Mike Bayer [Sat, 9 Nov 2013 18:19:47 +0000 (13:19 -0500)] 
- use pypi changelog plugin
- remove outdated pullreq links
- support pullreq links for bitbucket or github and add a few

12 years ago- add proof of concept for versioning, [ticket:2861]
Mike Bayer [Fri, 8 Nov 2013 23:19:41 +0000 (18:19 -0500)] 
- add proof of concept for versioning, [ticket:2861]

12 years ago- Fixed bug which prevented history_meta recipe from working with
Mike Bayer [Fri, 8 Nov 2013 01:35:24 +0000 (20:35 -0500)] 
- Fixed bug which prevented history_meta recipe from working with
joined inheritance schemes more than one level deep.
- don't need to use _lib.py here anymore now that these features are in
sqlalchemy.testing

12 years ago- Fixed a regression introduced by the join rewriting feature of
Mike Bayer [Fri, 1 Nov 2013 19:24:43 +0000 (15:24 -0400)] 
- Fixed a regression introduced by the join rewriting feature of
:ticket:`2369` and :ticket:`2587` where a nested join with one side
already an aliased select would fail to translate the ON clause on the
outside correctly; in the ORM this could be seen when using a
SELECT statement as a "secondary" table. [ticket:2858]

12 years ago- add a section re: using column_reflect for mapping, link to it from the "naming...
Mike Bayer [Thu, 31 Oct 2013 19:29:45 +0000 (15:29 -0400)] 
- add a section re: using column_reflect for mapping, link to it from the "naming columns distinctly" and "column_prefix" sections since this is often what ppl are looking for.  [ticket:2856] is related.

12 years ago- Fixed a regression introduced by :ticket:`2818` where the EXISTS
Mike Bayer [Wed, 30 Oct 2013 14:34:31 +0000 (10:34 -0400)] 
- Fixed a regression introduced by :ticket:`2818` where the EXISTS
query being generated would produce a "columns being replaced"
warning for a statement with two same-named columns,
as the internal SELECT wouldn't have use_labels set.

12 years agoMerge pull request #39 from jmagnusson/minordocfix
mike bayer [Tue, 29 Oct 2013 00:52:09 +0000 (17:52 -0700)] 
Merge pull request #39 from jmagnusson/minordocfix

Super-minor doc fix

12 years agoSuper-minor doc fix
Jacob Magnusson [Mon, 28 Oct 2013 22:26:37 +0000 (23:26 +0100)] 
Super-minor doc fix

12 years agono such thing as default_strategy()...
Mike Bayer [Mon, 28 Oct 2013 17:54:08 +0000 (13:54 -0400)] 
no such thing as default_strategy()...

12 years ago- whitespace below ..version, sigh
Mike Bayer [Mon, 28 Oct 2013 17:48:44 +0000 (13:48 -0400)] 
- whitespace below ..version, sigh

12 years agofix to the changelog system for when there's no change recs in the body
Mike Bayer [Sun, 27 Oct 2013 22:25:47 +0000 (18:25 -0400)] 
fix to the changelog system for when there's no change recs in the body

12 years ago- Fixed bug where index reflection would mis-interpret indkey values
Mike Bayer [Sun, 27 Oct 2013 22:14:44 +0000 (18:14 -0400)] 
- Fixed bug where index reflection would mis-interpret indkey values
when using the pypostgresql adapter, which returns these values
as lists vs. psycopg2's return type of string.
[ticket:2855]

12 years ago- farm out everthing to do with rtd out to the sqlalchemy.org site
Mike Bayer [Sun, 27 Oct 2013 18:43:35 +0000 (14:43 -0400)] 
- farm out everthing to do with rtd out to the sqlalchemy.org site

12 years agoMerge branch 'rel_0_9'
Mike Bayer [Sat, 26 Oct 2013 21:33:09 +0000 (17:33 -0400)] 
Merge branch 'rel_0_9'

12 years ago- more updates to compatability, C extensions, building, etc. rel_0_9_0b1
Mike Bayer [Sat, 26 Oct 2013 20:57:49 +0000 (16:57 -0400)] 
- more updates to compatability, C extensions, building, etc.

12 years ago- ensure 0.9 in various documentation spaces
Mike Bayer [Sat, 26 Oct 2013 20:47:42 +0000 (16:47 -0400)] 
- ensure 0.9 in various documentation spaces
- supporting py 2.6, update pypy version, jython not working these days

12 years ago- release 0.9.0b1
Mike Bayer [Sat, 26 Oct 2013 20:35:23 +0000 (16:35 -0400)] 
- release 0.9.0b1

12 years ago- add copyright to source files missing it
Mike Bayer [Sat, 26 Oct 2013 20:32:17 +0000 (16:32 -0400)] 
- add copyright to source files missing it

12 years ago- add copyright to source files missing it
Mike Bayer [Sat, 26 Oct 2013 20:32:17 +0000 (16:32 -0400)] 
- add copyright to source files missing it

12 years agowill call this 0.9.0b1
Mike Bayer [Sat, 26 Oct 2013 20:15:09 +0000 (16:15 -0400)] 
will call this 0.9.0b1

12 years ago- Fixed bug where Oracle table reflection using synonyms would fail
Mike Bayer [Fri, 25 Oct 2013 23:11:53 +0000 (19:11 -0400)] 
- Fixed bug where Oracle table reflection using synonyms would fail
if the synonym and the table were in different remote schemas.
Patch to fix courtesy Kyle Derr. [ticket:2853]

12 years agopython2 pickle here fails
Mike Bayer [Fri, 25 Oct 2013 22:04:22 +0000 (18:04 -0400)] 
python2 pickle here fails

12 years ago- catch the metadata on ScalarTest.test_scalar_proxy, this has been leaving itself
Mike Bayer [Fri, 25 Oct 2013 21:56:53 +0000 (17:56 -0400)] 
- catch the metadata on ScalarTest.test_scalar_proxy, this has been leaving itself
around for a long time
- association proxy now returns None for proxied scalar that is also None, rather
than raising AttributeError. [ticket:2810]

12 years ago- changelog for [ticket:2183]
Mike Bayer [Fri, 25 Oct 2013 21:22:40 +0000 (17:22 -0400)] 
- changelog for [ticket:2183]

12 years ago- move this test to PG test_reflection
Mike Bayer [Fri, 25 Oct 2013 21:19:03 +0000 (17:19 -0400)] 
- move this test to PG test_reflection
- don't use locals()

12 years ago- Fix and test parsing of MySQL foreign key options within reflection;
Mike Bayer [Fri, 25 Oct 2013 21:18:40 +0000 (17:18 -0400)] 
- Fix and test parsing of MySQL foreign key options within reflection;
this complements the work in :ticket:`2183` where we begin to support
reflection of foreign key options such as ON UPDATE/ON DELETE
cascade. [ticket:2839]

12 years agoMerge branch 'master' of github.com:ijl/sqlalchemy into merge_2183
Mike Bayer [Fri, 25 Oct 2013 21:01:38 +0000 (17:01 -0400)] 
Merge branch 'master' of github.com:ijl/sqlalchemy into merge_2183

12 years ago- :func:`.attributes.get_history()` when used with a scalar column-mapped
Mike Bayer [Fri, 25 Oct 2013 17:13:24 +0000 (13:13 -0400)] 
- :func:`.attributes.get_history()` when used with a scalar column-mapped
attribute will now honor the "passive" flag
passed to it; as this defaults to ``PASSIVE_OFF``, the function will
by default query the database if the value is not present.
This is a behavioral change vs. 0.8.  [ticket:2787]
- Added new method :meth:`.AttributeState.load_history`, works like
:attr:`.AttributeState.history` but also fires loader callables.

12 years ago- add migration notes for [ticket:2838]
Mike Bayer [Thu, 24 Oct 2013 20:13:32 +0000 (16:13 -0400)] 
- add migration notes for [ticket:2838]
- have TypeDecorator use process_bind_param for literal values if no
process_literal_param is set

12 years agoclarifications
Mike Bayer [Thu, 24 Oct 2013 00:07:48 +0000 (20:07 -0400)] 
clarifications

12 years agoupdated
Mike Bayer [Wed, 23 Oct 2013 23:51:43 +0000 (19:51 -0400)] 
updated

12 years agoAn overhaul of expression handling for special symbols particularly
Mike Bayer [Wed, 23 Oct 2013 21:41:55 +0000 (17:41 -0400)] 
An overhaul of expression handling for special symbols particularly
with conjunctions, e.g.
``None`` :func:`.expression.null` :func:`.expression.true`
:func:`.expression.false`, including consistency in rendering NULL
in conjunctions, "short-circuiting" of :func:`.and_` and :func:`.or_`
expressions which contain boolean constants, and rendering of
boolean constants and expressions as compared to "1" or "0" for backends
that don't feature ``true``/``false`` constants. [ticket:2804]

12 years ago- The regexp used by the :func:`.url.make_url` function now parses
Mike Bayer [Wed, 23 Oct 2013 19:02:36 +0000 (15:02 -0400)] 
- The regexp used by the :func:`.url.make_url` function now parses
ipv6 addresses, e.g. surrounded by brackets. [ticket:2851]

12 years agosome zoomark tests without c exts callcounts updated
Mike Bayer [Tue, 22 Oct 2013 03:34:02 +0000 (23:34 -0400)] 
some zoomark tests without c exts callcounts updated

12 years ago- just comment out this test, we may have to figure out if the whole
Mike Bayer [Tue, 22 Oct 2013 03:28:19 +0000 (23:28 -0400)] 
- just comment out this test, we may have to figure out if the whole
"serializer" can just be ditched, or if somehow these deterministic issues
can be fixed (everyone implements __reduce__ maybe?)

12 years ago- use a different approach here since oracle isn't doing it either, just round it
Mike Bayer [Tue, 22 Oct 2013 03:26:08 +0000 (23:26 -0400)] 
- use a different approach here since oracle isn't doing it either, just round it

12 years ago- oursql returns a pure FP here which isn't exact
Mike Bayer [Tue, 22 Oct 2013 03:21:11 +0000 (23:21 -0400)] 
- oursql returns a pure FP here which isn't exact

12 years agotry to get this to pass on slow environmnets
Mike Bayer [Tue, 22 Oct 2013 03:17:36 +0000 (23:17 -0400)] 
try to get this to pass on slow environmnets

12 years agotypos
Mike Bayer [Mon, 21 Oct 2013 22:33:59 +0000 (18:33 -0400)] 
typos

12 years ago- A :func:`.bindparam` construct with a "null" type (e.g. no type
Mike Bayer [Mon, 21 Oct 2013 20:49:46 +0000 (16:49 -0400)] 
- A :func:`.bindparam` construct with a "null" type (e.g. no type
specified) is now copied when used in a typed expression, and the
new copy is assigned the actual type of the compared column.  Previously,
this logic would occur on the given :func:`.bindparam` in place.
Additionally, a similar process now occurs for :func:`.bindparam` constructs
passed to :meth:`.ValuesBase.values` for a :class:`.Insert` or
:class:`.Update` construct. [ticket:2850]

12 years ago- Fixed bug where :func:`.type_coerce` would not interpret ORM
Mike Bayer [Mon, 21 Oct 2013 19:06:41 +0000 (15:06 -0400)] 
- Fixed bug where :func:`.type_coerce` would not interpret ORM
elements with a ``__clause_element__()`` method properly.
[ticket:2849]

12 years ago- The typing system now handles the task of rendering "literal bind" values,
Mike Bayer [Sun, 20 Oct 2013 20:59:56 +0000 (16:59 -0400)] 
- The typing system now handles the task of rendering "literal bind" values,
e.g. values that are normally bound parameters but due to context must
be rendered as strings, typically within DDL constructs such as
CHECK constraints and indexes (note that "literal bind" values
become used by DDL as of :ticket:`2742`).  A new method
:meth:`.TypeEngine.literal_processor` serves as the base, and
:meth:`.TypeDecorator.process_literal_param` is added to allow wrapping
of a native literal rendering method. [ticket:2838]
- enhance _get_colparams so that we can send flags like literal_binds into
INSERT statements
- add support in PG for inspecting standard_conforming_strings
- add a new series of roundtrip tests based on INSERT of literal plus SELECT
for basic literal rendering in dialect suite

12 years ago- add a type_coerce() step within Enum, Boolean to the CHECK constraint,
Mike Bayer [Sun, 20 Oct 2013 20:25:46 +0000 (16:25 -0400)] 
- add a type_coerce() step within Enum, Boolean to the CHECK constraint,
so that the custom type isn't exposed to an operation that is against the
"impl" type's constraint, [ticket:2842]
- this change showed up as some recursion overflow in pickling with labels,
add a __reduce__() there....pickling of expressions is less and less something
that's very viable...

12 years ago- The :meth:`.Table.tometadata` method now produces copies of
Mike Bayer [Sat, 19 Oct 2013 00:01:45 +0000 (20:01 -0400)] 
- The :meth:`.Table.tometadata` method now produces copies of
all :attr:`.SchemaItem.info` dictionaries from all :class:`.SchemaItem`
objects within the structure including columns, constraints,
foreign keys, etc.   As these dictionaries
are copies, they are independent of the original dictionary.
Previously, only the ``.info`` dictionary of :class:`.Column` was transferred
within this operation, and it was only linked in place, not copied.
[ticket:2716]

12 years ago- attempt to clarify what mutable extension does for HSTORE, [ticket:2803]
Mike Bayer [Fri, 18 Oct 2013 23:34:58 +0000 (19:34 -0400)] 
- attempt to clarify what mutable extension does for HSTORE, [ticket:2803]

12 years ago- add a "limitations of reflection" section, [ticket:2233]
Mike Bayer [Fri, 18 Oct 2013 23:23:40 +0000 (19:23 -0400)] 
- add a "limitations of reflection" section, [ticket:2233]

12 years agouse a set here also
Mike Bayer [Fri, 18 Oct 2013 23:03:21 +0000 (19:03 -0400)] 
use a set here also

12 years ago- Removed a 128-character truncation from the reflection of the
Mike Bayer [Fri, 18 Oct 2013 23:00:05 +0000 (19:00 -0400)] 
- Removed a 128-character truncation from the reflection of the
server default for a column; this code was original from
PG system views which truncated the string for readability.
[ticket:2844]

12 years ago- The change in :ticket:`2721`, which is that the ``deferrable`` keyword
Mike Bayer [Fri, 18 Oct 2013 18:44:01 +0000 (14:44 -0400)] 
- The change in :ticket:`2721`, which is that the ``deferrable`` keyword
of :class:`.ForeignKeyConstraint` is silently ignored on the MySQL
backend, will be reverted as of 0.9; this keyword will now render again, raising
errors on MySQL as it is not understood - the same behavior will also
apply to the ``initially`` keyword.  In 0.8, the keywords will remain
ignored but a warning is emitted.   Additionally, the ``match`` keyword
now raises a :class:`.CompileError` on 0.9 and emits a warning on 0.8;
this keyword is not only silently ignored by MySQL but also breaks
the ON UPDATE/ON DELETE options.

To use a :class:`.ForeignKeyConstraint`
that does not render or renders differently on MySQL, use a custom
compilation option.  An example of this usage has been added to the
documentation, see :ref:`mysql_foreign_keys`.
[ticket:2721] [ticket:2839]

12 years ago- Added support for rendering ``SMALLSERIAL`` when a :class:`.SmallInteger`
Mike Bayer [Tue, 15 Oct 2013 23:06:21 +0000 (19:06 -0400)] 
- Added support for rendering ``SMALLSERIAL`` when a :class:`.SmallInteger`
type is used on a primary key autoincrement column, based on server
version detection of Postgresql version 9.2 or greater.
[ticket:2840]

12 years agoForeignKeyConstraint reflection test respects MySQL limitations
ijl [Tue, 15 Oct 2013 20:01:25 +0000 (16:01 -0400)] 
ForeignKeyConstraint reflection test respects MySQL limitations

12 years agoThe MySQL :class:`.mysql.SET` type now features the same auto-quoting
Mike Bayer [Mon, 14 Oct 2013 20:12:54 +0000 (16:12 -0400)] 
The MySQL :class:`.mysql.SET` type now features the same auto-quoting
behavior as that of :class:`.mysql.ENUM`.  Quotes are not required when
setting up the value, but quotes that are present will be auto-detected
along with a warning.  This also helps with Alembic where
the SET type doesn't render with quotes. [ticket:2817]

12 years agoThe ``.unique`` flag on :class:`.Index` could be produced as ``None``
Mike Bayer [Mon, 14 Oct 2013 18:53:28 +0000 (14:53 -0400)] 
The ``.unique`` flag on :class:`.Index` could be produced as ``None``
if it was generated from a :class:`.Column` that didn't specify ``unique``
(where it defaults to ``None``).  The flag will now always be ``True`` or
``False``. [ticket:2825]

12 years agoworkaround for #2838 here. still need to figure out why an ENUM test is suddenly...
Mike Bayer [Mon, 14 Oct 2013 14:56:11 +0000 (10:56 -0400)] 
workaround for #2838 here.  still need to figure out why an ENUM test is suddenly hitting this.

12 years ago- fix non-deterministic ordering point
Mike Bayer [Mon, 14 Oct 2013 14:35:54 +0000 (10:35 -0400)] 
- fix non-deterministic ordering point

12 years ago- fix test warning here (oursql)
Mike Bayer [Mon, 14 Oct 2013 14:34:03 +0000 (10:34 -0400)] 
- fix test warning here (oursql)

12 years agoMerge pull request #35 from alex/less-dicts
mike bayer [Mon, 14 Oct 2013 14:27:47 +0000 (07:27 -0700)] 
Merge pull request #35 from alex/less-dicts

Perform fewer dict lookups - tiny microoptimization

12 years agoPerform fewer dict lookups - tiny microoptimization
Alex Gaynor [Mon, 14 Oct 2013 11:03:15 +0000 (13:03 +0200)] 
Perform fewer dict lookups - tiny microoptimization

12 years agothese are in alphabetical order
Mike Bayer [Sun, 13 Oct 2013 21:17:00 +0000 (17:17 -0400)] 
these are in alphabetical order

12 years agomigration guide
Mike Bayer [Sun, 13 Oct 2013 21:16:36 +0000 (17:16 -0400)] 
migration guide

12 years ago#2183: Metadata.reflect() foreign keys include options when the dialect exposes it
ijl [Sun, 13 Oct 2013 21:13:28 +0000 (17:13 -0400)] 
#2183: Metadata.reflect() foreign keys include options when the dialect exposes it

12 years agoname
Mike Bayer [Sun, 13 Oct 2013 20:43:57 +0000 (16:43 -0400)] 
name

12 years ago- Added new option to :func:`.relationship` ``distinct_target_key``.
Mike Bayer [Sun, 13 Oct 2013 20:42:32 +0000 (16:42 -0400)] 
-  Added new option to :func:`.relationship` ``distinct_target_key``.
This enables the subquery eager loader strategy to apply a DISTINCT
to the innermost SELECT subquery, to assist in the case where
duplicate rows are generated by the innermost query which corresponds
to this relationship (there's not yet a general solution to the issue
of dupe rows within subquery eager loading, however, when joins outside
of the innermost subquery produce dupes).  When the flag
is set to ``True``, the DISTINCT is rendered unconditionally, and when
it is set to ``None``, DISTINCT is rendered if the innermost relationship
targets columns that do not comprise a full primary key.
The option defaults to False in 0.8 (e.g. off by default in all cases),
None in 0.9 (e.g. automatic by default).   Thanks to Alexander Koval
for help with this. [ticket:2836]

12 years agoMySQL-connector dialect now allows options in the create_engine
Mike Bayer [Sun, 13 Oct 2013 18:09:35 +0000 (14:09 -0400)] 
MySQL-connector dialect now allows options in the create_engine
query string to override those defaults set up in the connect,
including "buffered" and "raise_on_warnings".
[ticket:2515]

12 years agoParenthesis will be applied to a compound SQL expression as
Mike Bayer [Sun, 13 Oct 2013 00:21:18 +0000 (20:21 -0400)] 
Parenthesis will be applied to a compound SQL expression as
rendered in the column list of a CREATE INDEX statement.
[ticket:2742]

12 years ago- Fixed bug in default compiler plus those of postgresql, mysql, and
Mike Bayer [Sun, 13 Oct 2013 00:04:55 +0000 (20:04 -0400)] 
- Fixed bug in default compiler plus those of postgresql, mysql, and
mssql to ensure that any literal SQL expression values are
rendered directly as literals, instead of as bound parameters,
within a CREATE INDEX statement. [ticket:2742]
- don't need expression_as_ddl(); literal_binds and include_table
take care of this functionality.

12 years agouse accepts scalar loader here so we deal with _ProxyImpl correctly
Mike Bayer [Fri, 11 Oct 2013 20:49:36 +0000 (16:49 -0400)] 
use accepts scalar loader here so we deal with _ProxyImpl correctly

12 years ago- fix bug due to regression from #2793, make sure we only go to load
Mike Bayer [Fri, 11 Oct 2013 20:41:52 +0000 (16:41 -0400)] 
- fix bug due to regression from #2793, make sure we only go to load
scalar attributes here and not relationships, else we get an error if there's no
actual scalars to load

12 years agoThe ``default`` argument of :class:`.Column` now accepts a class
Mike Bayer [Fri, 11 Oct 2013 20:16:08 +0000 (16:16 -0400)] 
The ``default`` argument of :class:`.Column` now accepts a class
or object method as an argument, in addition to a standalone function;
will properly detect if the "context" argument is accepted or not.

12 years agoThe "name" attribute is set on :class:`.Index` before the "attach"
Mike Bayer [Fri, 11 Oct 2013 19:55:57 +0000 (15:55 -0400)] 
The "name" attribute is set on :class:`.Index` before the "attach"
events are called, so that attachment events can be used to dynamically
generate a name for the index based on the parent table and/or
columns. [ticket:2835]

12 years agoPostgreSQL foreign key inspection includes options
ijl [Fri, 11 Oct 2013 19:01:14 +0000 (15:01 -0400)] 
PostgreSQL foreign key inspection includes options

12 years ago- The method signature of :meth:`.Dialect.reflecttable`, which in
Mike Bayer [Fri, 11 Oct 2013 16:48:46 +0000 (12:48 -0400)] 
- The method signature of :meth:`.Dialect.reflecttable`, which in
all known cases is provided by :class:`.DefaultDialect`, has been
tightened to expect ``include_columns`` and ``exclude_columns``
arguments without any kw option, reducing ambiguity - previously
``exclude_columns`` was missing. [ticket:2748]

12 years agoA :func:`.select` that is made to refer to itself in its FROM clause,
Mike Bayer [Wed, 9 Oct 2013 00:06:58 +0000 (20:06 -0400)] 
A :func:`.select` that is made to refer to itself in its FROM clause,
typically via in-place mutation, will raise an informative error
message rather than causing a recursion overflow.
[ticket:2815]