]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
11 years ago- clean up unicode docs and clarify that client_encoding
Mike Bayer [Tue, 7 Oct 2014 18:06:46 +0000 (14:06 -0400)] 
- clean up unicode docs and clarify that client_encoding
at the engine level is not the same thing as at the connect args
level.

11 years ago- adjustment for ref #3200 as we need an immutabledict() here so
Mike Bayer [Tue, 7 Oct 2014 16:43:27 +0000 (12:43 -0400)] 
- adjustment for ref #3200 as we need an immutabledict() here so
that union() can be called, in the case of a dialect that uses
execution options inside of initialize() (e.g. oursql)

11 years ago- Fixed "'NoneType' object has no attribute 'concrete'" error
Mike Bayer [Mon, 6 Oct 2014 22:33:05 +0000 (18:33 -0400)] 
- Fixed "'NoneType' object has no attribute 'concrete'" error
when using :class:`.AbstractConcreteBase` in conjunction with
a subclass that declares ``__abstract__``.
fixes #3185

Conflicts:
test/ext/declarative/test_inheritance.py

11 years ago- The execution options passed to an :class:`.Engine` either via
Mike Bayer [Mon, 6 Oct 2014 22:23:42 +0000 (18:23 -0400)] 
- The execution options passed to an :class:`.Engine` either via
:paramref:`.create_engine.execution_options` or
:meth:`.Engine.update_execution_options` are not passed to the
special :class:`.Connection` used to initialize the dialect
within the "first connect" event; dialects will usually
perform their own queries in this phase, and none of the
current available  options should be applied here.  In
particular, the "autocommit" option was causing an attempt to
autocommit within this initial connect which would fail with
an AttributeError due to the non-standard state of the
:class:`.Connection`.
fixes #3200

11 years ago- rework tests for attached databases into individual tests,
Mike Bayer [Mon, 29 Sep 2014 22:09:25 +0000 (18:09 -0400)] 
- rework tests for attached databases into individual tests,
test both memory and file-based
- When selecting from a UNION using an attached database file,
the pysqlite driver reports column names in cursor.description
as 'dbname.tablename.colname', instead of 'tablename.colname' as
it normally does for a UNION (note that it's supposed to just be
'colname' for both, but we work around it).  The column translation
logic here has been adjusted to retrieve the rightmost token, rather
than the second token, so it works in both cases.   Workaround
courtesy Tony Roberts.
fixes #3211

11 years ago- A revisit to this issue first patched in 0.9.5, apparently
Mike Bayer [Mon, 29 Sep 2014 21:33:53 +0000 (17:33 -0400)] 
- A revisit to this issue first patched in 0.9.5, apparently
psycopg2's ``.closed`` accessor is not as reliable as we assumed,
so we have added an explicit check for the exception messages
"SSL SYSCALL error: Bad file descriptor" and
"SSL SYSCALL error: EOF detected" when detecting an
is-disconnect scenario.   We will continue to consult psycopg2's
connection.closed as a first check.
fixes #3021

11 years ago- flake8
Mike Bayer [Fri, 26 Sep 2014 18:36:55 +0000 (14:36 -0400)] 
- flake8

11 years ago- add explicit warning re: polymorphic_on, cascading is not supported
Mike Bayer [Fri, 26 Sep 2014 16:50:18 +0000 (12:50 -0400)] 
- add explicit warning re: polymorphic_on, cascading is not supported
at this time.  ref #3214

11 years ago- clarify documentation on exists() that it is preferred to be in the
Mike Bayer [Wed, 24 Sep 2014 18:49:30 +0000 (14:49 -0400)] 
- clarify documentation on exists() that it is preferred to be in the
WHERE clause.  fixes #3212

11 years ago- flake8 all of test/ext/declarative
Mike Bayer [Tue, 23 Sep 2014 17:25:22 +0000 (13:25 -0400)] 
- flake8 all of test/ext/declarative

11 years ago- these tests don't test anything in SQLAlchemy - from our perpsective,
Mike Bayer [Fri, 19 Sep 2014 16:39:34 +0000 (12:39 -0400)] 
- these tests don't test anything in SQLAlchemy - from our perpsective,
we need to be in transactions (tested elsewhere) and we need to
emit the correct FOR UPDATE strings (tested elsewhere).  There's nothing
in SQLA to be tested as far as validating that for update causes exceptions
or not, and these tests frequently fail as they are timing sensitive.

11 years ago- Fixed bug that affected generally the same classes of event
Mike Bayer [Thu, 18 Sep 2014 21:49:07 +0000 (17:49 -0400)] 
- Fixed bug that affected generally the same classes of event
as that of :ticket:`3199`, when the ``named=True`` parameter
would be used.  Some events would fail to register, and others
would not invoke the event arguments correctly, generally in the
case of when an event was "wrapped" for adaption in some other way.
The "named" mechanics have been rearranged to not interfere with
the argument signature expected by internal wrapper functions.
fixes #3197

Conflicts:
test/base/test_events.py
test/orm/test_attributes.py
test/orm/test_events.py

11 years ago- Fixed an unlikely race condition observed in some exotic end-user
Mike Bayer [Thu, 18 Sep 2014 19:42:27 +0000 (15:42 -0400)] 
- Fixed an unlikely race condition observed in some exotic end-user
setups, where the attempt to check for "duplicate class name" in
declarative would hit upon a not-totally-cleaned-up weak reference
related to some other class being removed; the check here now ensures
the weakref still references an object before calling upon it further.
fixes #3208

11 years ago- Fixed bug that affected many classes of event, particularly
Mike Bayer [Thu, 18 Sep 2014 19:24:40 +0000 (15:24 -0400)] 
- Fixed bug that affected many classes of event, particularly
ORM events but also engine events, where the usual logic of
"de duplicating" a redundant call to :func:`.event.listen`
with the same arguments would fail, for those events where the
listener function is wrapped.  An assertion would be hit within
registry.py.  This assertion has now been integrated into the
deduplication check, with the added bonus of a simpler means
of checking deduplication across the board.
fixes #3199

Conflicts:
lib/sqlalchemy/event/registry.py
test/base/test_events.py

11 years ago- not sure what this is testing but remove the self.l that might
Mike Bayer [Wed, 17 Sep 2014 19:40:09 +0000 (15:40 -0400)] 
- not sure what this is testing but remove the self.l that might
be contributing to pypy not cleaning up on this one

Conflicts:
test/orm/test_eager_relations.py

11 years ago- Fixed the version string detection in the pymssql dialect to
Mike Bayer [Tue, 16 Sep 2014 21:40:06 +0000 (17:40 -0400)] 
- Fixed the version string detection in the pymssql dialect to
work with Microsoft SQL Azure, which changes the word "SQL Server"
to "SQL Azure".
fixes #3151

11 years ago- raise from cause here to preserve stack trace
Mike Bayer [Tue, 16 Sep 2014 20:20:22 +0000 (16:20 -0400)] 
- raise from cause here to preserve stack trace

11 years agoAdded EXASolution dialect to documentation
Jan [Tue, 16 Sep 2014 18:54:27 +0000 (20:54 +0200)] 
Added EXASolution dialect to documentation

11 years ago- use compat.u for python3.2, fixes #3198
Mike Bayer [Mon, 15 Sep 2014 18:57:41 +0000 (14:57 -0400)] 
- use compat.u for python3.2, fixes #3198

11 years ago- fix issue where nose Failure object comes into play here
Mike Bayer [Mon, 15 Sep 2014 18:53:20 +0000 (14:53 -0400)] 
- fix issue where nose Failure object comes into play here

Conflicts:
lib/sqlalchemy/testing/plugin/noseplugin.py

11 years agoUpdated documenation for engines.rst
Jim Hokanson [Sun, 14 Sep 2014 04:25:41 +0000 (00:25 -0400)] 
Updated documenation for engines.rst

Clarified connecting to absolute path for sqlite using Windows.

11 years ago- Fixed warning that would emit when a complex self-referential
Mike Bayer [Thu, 11 Sep 2014 15:51:44 +0000 (11:51 -0400)] 
- Fixed warning that would emit when a complex self-referential
primaryjoin contained functions, while at the same time remote_side
was specified; the warning would suggest setting "remote side".
It now only emits if remote_side isn't present.
fixes #3194

11 years ago- Fixed bug in ordering list where the order of items would be
Mike Bayer [Wed, 10 Sep 2014 18:14:50 +0000 (14:14 -0400)] 
- Fixed bug in ordering list where the order of items would be
thrown off during a collection replace event, if the
reorder_on_append flag were set to True.  The fix ensures that the
ordering list only impacts the list that is explicitly associated
with the object.
fixes #3191

11 years ago- for whatever reason, Insert.values() with multi values wasn't
Mike Bayer [Tue, 9 Sep 2014 22:59:59 +0000 (18:59 -0400)] 
- for whatever reason, Insert.values() with multi values wasn't
in the 0.8 migration, so let's just add that

11 years ago- add in all the method-chained methods to the parameter descriptions
Mike Bayer [Tue, 9 Sep 2014 21:29:37 +0000 (17:29 -0400)] 
- add in all the method-chained methods to the parameter descriptions
on select().  improve some descriptions.

11 years ago- mako_layout isn't used, remove it
Mike Bayer [Sun, 7 Sep 2014 22:10:40 +0000 (18:10 -0400)] 
- mako_layout isn't used, remove it
- to check for epub look at "builder"

11 years agoDocs: use the base layout when mako_layout=='epub'
hiaselhans [Sat, 6 Sep 2014 11:32:58 +0000 (13:32 +0200)] 
Docs: use the base layout when mako_layout=='epub'

  - https://readthedocs.org/projects/sqlalchemy/downloads/epub/latest/ renders with the full template which is unreadable on e-readers
  - in the makefile the template-variable mako_layout is set for target: epub which makes mako use only the base layout.
  - this is the more elegant solution as proposed to #133

11 years ago- set flavor to "index" here as MySQL is sending None
Mike Bayer [Fri, 5 Sep 2014 21:03:43 +0000 (17:03 -0400)] 
- set flavor to "index" here as MySQL is sending None

11 years ago- An adjustment to table/index reflection such that if an index
Mike Bayer [Tue, 2 Sep 2014 18:21:10 +0000 (14:21 -0400)] 
- An adjustment to table/index reflection such that if an index
reports a column that isn't found to be present in the table,
a warning is emitted and the column is skipped.  This can occur
for some special system column situations as has been observed
with Oracle. fixes #3180

11 years ago- backport the expects_warning() context manager from 1.0
Mike Bayer [Tue, 2 Sep 2014 18:22:28 +0000 (14:22 -0400)] 
- backport the expects_warning() context manager from 1.0

11 years ago- more updates to text docs, literal_column, column etc. in prep
Mike Bayer [Mon, 1 Sep 2014 21:20:49 +0000 (17:20 -0400)] 
- more updates to text docs, literal_column, column etc.  in prep
for ticket 2992.

11 years ago- walk back these literal SQL lectures into something much more succinct.
Mike Bayer [Mon, 1 Sep 2014 00:26:40 +0000 (20:26 -0400)] 
- walk back these literal SQL lectures into something much more succinct.
the ORM one in particular was really long winded and I don't really care if people
use text() anyway, they'll figure it out ;)

11 years ago- improve from_statement() doc
Mike Bayer [Sun, 31 Aug 2014 22:05:17 +0000 (18:05 -0400)] 
- improve from_statement() doc

11 years ago- start encouraging the use of text() for injection of string-based SQL
Mike Bayer [Sun, 31 Aug 2014 15:44:51 +0000 (11:44 -0400)] 
- start encouraging the use of text() for injection of string-based SQL
rather than straight strings.  reference #2992

11 years ago- add a test to events within load to verify something we want
Mike Bayer [Fri, 29 Aug 2014 18:23:36 +0000 (14:23 -0400)] 
- add a test to events within load to verify something we want
to ensure stays the same on 1.0

11 years ago- add some more docs to yield_per
Mike Bayer [Fri, 29 Aug 2014 17:35:03 +0000 (13:35 -0400)] 
- add some more docs to yield_per

11 years ago- changelog for pr bitbucket:28
Mike Bayer [Mon, 25 Aug 2014 23:14:47 +0000 (19:14 -0400)] 
- changelog for pr bitbucket:28

11 years agoadd update() support to MutableDict
Matt Chisholm [Sun, 27 Jul 2014 10:15:51 +0000 (12:15 +0200)] 
add update() support to MutableDict

11 years ago- changelog for pr bitbucket:27
Mike Bayer [Mon, 25 Aug 2014 23:13:25 +0000 (19:13 -0400)] 
- changelog for pr bitbucket:27

11 years agofix MutableDict.coerce
Matt Chisholm [Sun, 27 Jul 2014 10:15:36 +0000 (12:15 +0200)] 
fix MutableDict.coerce

If a class inherited from MutableDict (say, for instance, to add an update() method), coerce() would give back an instance of MutableDict instead of an instance of the derived class.

11 years ago- mention that FOUND_ROWS is hardcoded; fixes #3146
Mike Bayer [Mon, 25 Aug 2014 21:06:28 +0000 (17:06 -0400)] 
- mention that FOUND_ROWS is hardcoded; fixes #3146

11 years ago- deprecation note regarding resurrect, reference #3171
Mike Bayer [Mon, 25 Aug 2014 21:01:51 +0000 (17:01 -0400)] 
- deprecation note regarding resurrect, reference #3171

11 years agoAdd note on begin_nested requiring rollback/commit
Gunnlaugur Þór Briem [Thu, 21 Aug 2014 18:42:08 +0000 (18:42 +0000)] 
Add note on begin_nested requiring rollback/commit

Avoid confusion about rollback/commit "must be issued" after
``session.begin_nested()`` --- this might be taken to mean call must be
*added*, but that's only true if not using the return value as a context
manager.

11 years agoMerge branch 'rel_0_9' of bitbucket.org:zzzeek/sqlalchemy into rel_0_9
Mike Bayer [Thu, 21 Aug 2014 21:37:09 +0000 (17:37 -0400)] 
Merge branch 'rel_0_9' of bitbucket.org:zzzeek/sqlalchemy into rel_0_9

11 years agoFix doc typo 'conjunection'
Gunnlaugur Þór Briem [Thu, 31 Jul 2014 23:26:18 +0000 (23:26 +0000)] 
Fix doc typo 'conjunection'

11 years agoFix copy-paste error in Delete doc
Gunnlaugur Þór Briem [Thu, 31 Jul 2014 23:23:56 +0000 (23:23 +0000)] 
Fix copy-paste error in Delete doc

11 years ago- doc corrections for inline=True
Mike Bayer [Thu, 21 Aug 2014 14:29:15 +0000 (10:29 -0400)] 
- doc corrections for inline=True

11 years ago- upgrade the note about inline=True to a warning, and make it clear that
Mike Bayer [Thu, 21 Aug 2014 00:18:30 +0000 (20:18 -0400)] 
- upgrade the note about inline=True to a warning, and make it clear that
this flag should really be set all the time. ref #3169

11 years ago- Fixed bug in connection pool logging where the "connection checked out"
Mike Bayer [Wed, 20 Aug 2014 16:01:20 +0000 (12:01 -0400)] 
- Fixed bug in connection pool logging where the "connection checked out"
debug logging message would not emit if the logging were set up using
``logging.setLevel()``, rather than using the ``echo_pool`` flag.
Tests to assert this logging have been added.  This is a
regression that was introduced in 0.9.0.
fixes #3168

11 years ago- pep8 cleanup
Mike Bayer [Wed, 20 Aug 2014 13:08:59 +0000 (09:08 -0400)] 
- pep8 cleanup

11 years ago- changelog for pullreq github:125
Mike Bayer [Sat, 16 Aug 2014 17:57:46 +0000 (13:57 -0400)] 
- changelog for pullreq github:125
- add pg8000 version detection for the "sane multi rowcount" feature

11 years agopg8000 now supports sane_multi_rowcount
Tony Locke [Sat, 2 Aug 2014 15:19:46 +0000 (16:19 +0100)] 
pg8000 now supports sane_multi_rowcount

From pg8000-1.9.14 sane_multi_rowcount is supported so this commit
updates the dialect accordingly.

11 years ago- mutablemapping adds compiler overhead, so screw it
Mike Bayer [Fri, 15 Aug 2014 22:39:26 +0000 (18:39 -0400)] 
- mutablemapping adds compiler overhead, so screw it

11 years ago- TIL that dict.keys() in py3K is not an iterator, it is an iterable
Mike Bayer [Fri, 15 Aug 2014 18:57:29 +0000 (14:57 -0400)] 
- TIL that dict.keys() in py3K is not an iterator, it is an iterable
view.  So copy collections.OrderedDict and use MutableMapping to set up
keys, items, values on our own OrderedDict.

11 years ago- The string keys that are used to determine the columns impacted
Mike Bayer [Fri, 15 Aug 2014 00:00:35 +0000 (20:00 -0400)] 
- The string keys that are used to determine the columns impacted
for an INSERT or UPDATE are now sorted when they contribute towards
the "compiled cache" cache key.   These keys were previously not
deterministically ordered, meaning the same statement could be
cached multiple times on equivalent keys, costing both in terms of
memory as well as performance.
fixes #3165

11 years ago- rework documentation for reflection flags, backport from
Mike Bayer [Sat, 9 Aug 2014 22:14:45 +0000 (18:14 -0400)] 
- rework documentation for reflection flags, backport from
1.0

11 years ago- add tests for the savepoint recipe
Mike Bayer [Sat, 9 Aug 2014 18:03:17 +0000 (14:03 -0400)] 
- add tests for the savepoint recipe

11 years ago- rewrite all the sqlite/pysqlite transaction isolation docs
Mike Bayer [Sat, 9 Aug 2014 17:53:21 +0000 (13:53 -0400)] 
- rewrite all the sqlite/pysqlite transaction isolation docs

11 years ago- turn off the testing reaper here, that's the source of the leaks
Mike Bayer [Fri, 8 Aug 2014 17:06:41 +0000 (13:06 -0400)] 
- turn off the testing reaper here, that's the source of the leaks
when we are running with pydist, and even when we are running without it
in fact...

Conflicts:
test/aaa_profiling/test_memusage.py

11 years ago- take out the iterator approach here as it does not support concurrent access
Mike Bayer [Thu, 7 Aug 2014 16:36:50 +0000 (12:36 -0400)] 
- take out the iterator approach here as it does not support concurrent access

11 years ago-Fixed bug where Postgresql JSON type was not able to persist or
Mike Bayer [Thu, 7 Aug 2014 14:43:55 +0000 (10:43 -0400)] 
-Fixed bug where Postgresql JSON type was not able to persist or
otherwise render a SQL NULL column value, rather than a JSON-encoded
``'null'``.  To support this case, changes are as follows:

* The value :func:`.null` can now be specified, which will always
  result in a NULL value resulting in the statement.

* A new parameter :paramref:`.JSON.none_as_null` is added, which
  when True indicates that the Python ``None`` value should be
  peristed as SQL NULL, rather than JSON-encoded ``'null'``.

Retrival of NULL as None is also repaired for DBAPIs other than
psycopg2, namely pg8000.

fixes #3159

11 years ago- clarify docs that contains_eager() is included in the of_type() system,
Mike Bayer [Thu, 7 Aug 2014 13:59:59 +0000 (09:59 -0400)] 
- clarify docs that contains_eager() is included in the of_type() system,
fix #2438

11 years agofix typo in cascade documentation
Michael White [Wed, 6 Aug 2014 02:47:40 +0000 (22:47 -0400)] 
fix typo in cascade documentation

11 years ago- add some docs to try to explain the behavior with MySQL / TIMESTAMP.
Mike Bayer [Tue, 5 Aug 2014 03:47:14 +0000 (23:47 -0400)] 
- add some docs to try to explain the behavior with MySQL / TIMESTAMP.
ref #3155

11 years ago- Fixed bug in CTE where ``literal_binds`` compiler argument would not
Mike Bayer [Sat, 2 Aug 2014 18:42:57 +0000 (14:42 -0400)] 
- Fixed bug in CTE where ``literal_binds`` compiler argument would not
be always be correctly propagated when one CTE referred to another
aliased CTE in a statement.
Fixes #3154

11 years ago- update the literal binds section
Mike Bayer [Wed, 30 Jul 2014 20:08:33 +0000 (16:08 -0400)] 
- update the literal binds section

11 years ago- workaround removal of nested() in py3k
Mike Bayer [Wed, 30 Jul 2014 16:50:38 +0000 (12:50 -0400)] 
- workaround removal of nested() in py3k

11 years ago- ensure all tests are named test_*
Mike Bayer [Wed, 30 Jul 2014 16:18:33 +0000 (12:18 -0400)] 
- ensure all tests are named test_*

11 years ago- fix unit test affected by #3075
Mike Bayer [Tue, 29 Jul 2014 23:09:48 +0000 (19:09 -0400)] 
- fix unit test affected by #3075

11 years agopep8 cleanup
Mike Bayer [Tue, 29 Jul 2014 18:17:29 +0000 (14:17 -0400)] 
pep8 cleanup

11 years ago- The exception wrapping system for DBAPI errors can now accommodate
Mike Bayer [Tue, 29 Jul 2014 18:06:43 +0000 (14:06 -0400)] 
- The exception wrapping system for DBAPI errors can now accommodate
non-standard DBAPI exceptions, such as the psycopg2
TransactionRollbackError.  These exceptions will now be raised
using the closest available subclass in ``sqlalchemy.exc``, in the
case of TransactionRollbackError, ``sqlalchemy.exc.OperationalError``.
fixes #3075

11 years ago- Fixed 0.9.7 regression caused by :ticket:`3067` in conjunction with
Mike Bayer [Tue, 29 Jul 2014 17:32:05 +0000 (13:32 -0400)] 
- Fixed 0.9.7 regression caused by :ticket:`3067` in conjunction with
a mis-named unit test such that so-called "schema" types like
:class:`.Boolean` and :class:`.Enum` could no longer be pickled.
fixes #3144

11 years ago- find the remaining not cleaning up correctly test
Mike Bayer [Mon, 28 Jul 2014 17:11:04 +0000 (13:11 -0400)] 
- find the remaining not cleaning up correctly test

11 years agofix test ordering issues
Mike Bayer [Mon, 28 Jul 2014 02:42:42 +0000 (22:42 -0400)] 
fix test ordering issues

11 years ago- rework the exclusions system to have much better support for compound
Mike Bayer [Sat, 26 Jul 2014 22:26:22 +0000 (18:26 -0400)] 
- rework the exclusions system to have much better support for compound
rules, better message formatting

11 years ago- fix whitespace
Mike Bayer [Sat, 26 Jul 2014 00:23:10 +0000 (20:23 -0400)] 
- fix whitespace

11 years ago- restore non_updating_cascade to test_manytomany_nonpassive, but also
Mike Bayer [Fri, 25 Jul 2014 22:51:44 +0000 (18:51 -0400)] 
- restore non_updating_cascade to test_manytomany_nonpassive, but also
add sane_multi_rowcount requirement, as pg8000 doesn't do "multi" row count.

11 years ago- more pg8000 tests passing
Mike Bayer [Fri, 25 Jul 2014 20:39:44 +0000 (16:39 -0400)] 
- more pg8000 tests passing

11 years agoPEP8 tidy of test/orm/test_dynamic.py
Tony Locke [Sat, 19 Jul 2014 19:19:27 +0000 (20:19 +0100)] 
PEP8 tidy of test/orm/test_dynamic.py

11 years agoFixes for pg8000 for test/orm/test_dynamic.py
Tony Locke [Sat, 19 Jul 2014 18:59:41 +0000 (19:59 +0100)] 
Fixes for pg8000 for test/orm/test_dynamic.py

11 years agoPEP8 tidy of test/orm/test_froms.py
Tony Locke [Sat, 19 Jul 2014 18:39:38 +0000 (19:39 +0100)] 
PEP8 tidy of test/orm/test_froms.py

11 years agoOpened test_self_referential for pg8000
Tony Locke [Sat, 19 Jul 2014 15:26:09 +0000 (16:26 +0100)] 
Opened test_self_referential for pg8000

The test orm/test_froms.py test_self_referential works with pg8000 now,
so I've opened it up.

11 years agoPEP8 tidy for test/orm/test_naturalpks.py
Tony Locke [Sat, 19 Jul 2014 15:16:09 +0000 (16:16 +0100)] 
PEP8 tidy for test/orm/test_naturalpks.py

11 years agoRemove requirement for manytomany_nonpassive
Tony Locke [Sat, 19 Jul 2014 14:26:43 +0000 (15:26 +0100)] 
Remove requirement for manytomany_nonpassive

Removed the non_updating_cascade requirement from
test_manytomany_nonpassive. This is because setting
passive_updates=False in a relationship should work on *all* dialects.

11 years agoPEP8 tidy of test/orm/test_query.py
Tony Locke [Mon, 14 Jul 2014 21:35:03 +0000 (22:35 +0100)] 
PEP8 tidy of test/orm/test_query.py

Conflicts:
test/orm/test_query.py

11 years agopg8000 passing test/orm/test_query.py
Tony Locke [Mon, 14 Jul 2014 19:28:18 +0000 (20:28 +0100)] 
pg8000 passing test/orm/test_query.py

Conflicts:
test/orm/test_query.py

11 years agoPEP8 tidy for test/orm/test_transaction.py
Tony Locke [Mon, 14 Jul 2014 18:15:21 +0000 (19:15 +0100)] 
PEP8 tidy for test/orm/test_transaction.py

11 years agoFix support for two phase commit in pg8000 dialect
Tony Locke [Sun, 13 Jul 2014 21:38:39 +0000 (22:38 +0100)] 
Fix support for two phase commit in pg8000 dialect

The postgresql base dialect has problems with two-phase commit because
there isn't a standard way of handling autocommit in DBAPI. This commit
modifies the pg8000 dialect to use the DBAPI tpc extension, which is
supported by pg8000 as of version 1.9.11.

11 years agoPEP8 tidy for test/orm/test_versioning.py
Tony Locke [Wed, 9 Jul 2014 20:47:04 +0000 (21:47 +0100)] 
PEP8 tidy for test/orm/test_versioning.py

11 years agoFix argument to array() in array._bind_param()
Andrew [Thu, 24 Jul 2014 05:56:50 +0000 (15:56 +1000)] 
Fix argument to array() in array._bind_param()

array.__init__() expects a list as its sole parameter but inside _bind_param(), instead of sending a list it's sending each item in the list as a separate argument which is incorrect.

11 years ago- Fixed bug in :class:`.postgresql.array` object where comparison
Mike Bayer [Fri, 25 Jul 2014 20:08:21 +0000 (16:08 -0400)] 
- Fixed bug in :class:`.postgresql.array` object where comparison
to a plain Python list would fail to use the correct array constructor.
Pull request courtesy Andrew.  fixes #3141

11 years ago- flake8 all of test/dialect/postgresql
Mike Bayer [Fri, 25 Jul 2014 20:04:35 +0000 (16:04 -0400)] 
- flake8 all of test/dialect/postgresql
- add __backend__ to most tests so that pg8000 can start coming in

11 years ago- use a variant with expected collation here for mysql
Mike Bayer [Fri, 25 Jul 2014 16:02:05 +0000 (12:02 -0400)] 
- use a variant with expected collation here for mysql

11 years ago- Added a supported :meth:`.FunctionElement.alias` method to functions,
Mike Bayer [Thu, 24 Jul 2014 18:33:50 +0000 (14:33 -0400)] 
- Added a supported :meth:`.FunctionElement.alias` method to functions,
e.g. the ``func`` construct.  Previously, behavior for this method
was undefined.  The current behavior mimics that of pre-0.9.4,
which is that the function is turned into a single-column FROM
clause with the given alias name, where the column itself is
anonymously named.
fixes #3137

11 years ago- start 0.9.8
Mike Bayer [Thu, 24 Jul 2014 18:06:57 +0000 (14:06 -0400)] 
- start 0.9.8

11 years ago0.9.7 rel_0_9_7
Mike Bayer [Tue, 22 Jul 2014 20:56:22 +0000 (16:56 -0400)] 
0.9.7

11 years ago- missing 0.8 change forwards port
Mike Bayer [Tue, 22 Jul 2014 20:52:32 +0000 (16:52 -0400)] 
- missing 0.8 change forwards port

11 years agospelling
Mike Bayer [Tue, 22 Jul 2014 20:36:59 +0000 (16:36 -0400)] 
spelling

11 years ago- ticket inline
Mike Bayer [Tue, 22 Jul 2014 20:25:58 +0000 (16:25 -0400)] 
- ticket inline

11 years ago- update some SQL server tests, support
Mike Bayer [Tue, 22 Jul 2014 17:41:47 +0000 (13:41 -0400)] 
- update some SQL server tests, support
- add support for IDENTITY INSERT setting for INSERT with inline VALUES