]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
11 years ago0.9.5 released date
Mike Bayer [Mon, 23 Jun 2014 15:17:39 +0000 (11:17 -0400)] 
0.9.5 released date

11 years agofix changelog
Mike Bayer [Mon, 23 Jun 2014 15:12:47 +0000 (11:12 -0400)] 
fix changelog

11 years ago- use new Or() directive to test for both SQL variants here, which can vary
Mike Bayer [Sun, 22 Jun 2014 00:27:19 +0000 (20:27 -0400)] 
- use new Or() directive to test for both SQL variants here, which can vary
based on hash ordering of the ClassManager

11 years ago- fix test failures
Mike Bayer [Sat, 21 Jun 2014 22:11:04 +0000 (18:11 -0400)] 
- fix test failures

11 years ago- Additional checks have been added for the case where an inheriting
Mike Bayer [Fri, 20 Jun 2014 22:47:28 +0000 (18:47 -0400)] 
- Additional checks have been added for the case where an inheriting
mapper is implicitly combining one of its column-based attributes
with that of the parent, where those columns normally don't necessarily
share the same value.  This is an extension of an existing check that
was added via :ticket:`1892`; however this new check emits only a
warning, instead of an exception, to allow for applications that may
be relying upon the existing behavior.
fixes #3042

11 years agoadditional version notes
Mike Bayer [Fri, 20 Jun 2014 22:06:15 +0000 (18:06 -0400)] 
additional version notes

11 years agoadd missing version markers
Mike Bayer [Fri, 20 Jun 2014 22:04:26 +0000 (18:04 -0400)] 
add missing version markers

11 years ago- The :paramref:`.Column.nullable` flag is implicitly set to ``False``
Mike Bayer [Fri, 20 Jun 2014 22:03:28 +0000 (18:03 -0400)] 
- The :paramref:`.Column.nullable` flag is implicitly set to ``False``
when that :class:`.Column` is referred to in an explicit
:class:`.PrimaryKeyConstraint` for that table.  This behavior now
matches that of when the :class:`.Column` itself has the
:paramref:`.Column.primary_key` flag set to ``True``, which is
intended to be an exactly equivalent case.
fixes #3023

11 years ago- Added a new type :class:`.postgresql.OID` to the Postgresql dialect.
Mike Bayer [Fri, 20 Jun 2014 21:58:06 +0000 (17:58 -0400)] 
- Added a new type :class:`.postgresql.OID` to the Postgresql dialect.
While "oid" is generally a private type within PG that is not exposed
in modern versions, there are some PG use cases such as large object
support where these types might be exposed, as well as within some
user-reported schema reflection use cases.
fixes #3002

11 years ago- Fixed bug where column names added to ``mysql_length`` parameter
Mike Bayer [Wed, 18 Jun 2014 14:56:23 +0000 (10:56 -0400)] 
- Fixed bug where column names added to ``mysql_length`` parameter
on an index needed to have the same quoting for quoted names in
order to be recognized.  The fix makes the quotes optional but
also provides the old behavior for backwards compatibility with those
using the workaround.
fixes #3085

11 years ago- Modified the behavior of :func:`.orm.load_only` such that primary key
Mike Bayer [Thu, 12 Jun 2014 15:47:50 +0000 (11:47 -0400)] 
- Modified the behavior of :func:`.orm.load_only` such that primary key
columns are always added to the list of columns to be "undeferred";
otherwise, the ORM can't load the row's identity.   Apparently,
one can defer the mapped primary keys and the ORM will fail, that
hasn't been changed.  But as load_only is essentially saying
"defer all but X", it's more critical that PK cols not be part of this
deferral. fixes #3080

11 years ago- changelog
Mike Bayer [Sun, 8 Jun 2014 22:03:07 +0000 (18:03 -0400)] 
- changelog

11 years agoMerged in univerio/sqlalchemy/materialized_paths (pull request #21)
Mike Bayer [Sun, 8 Jun 2014 22:01:46 +0000 (18:01 -0400)] 
Merged in univerio/sqlalchemy/materialized_paths (pull request #21)

Materialized paths example

11 years agoUpdate compiler.py
BY-jk [Mon, 2 Jun 2014 08:18:29 +0000 (10:18 +0200)] 
Update compiler.py

Moved initialization into else block
Conflicts:
lib/sqlalchemy/sql/compiler.py

11 years agochangelog
Mike Bayer [Sun, 8 Jun 2014 21:54:48 +0000 (17:54 -0400)] 
changelog

11 years agoMerge branch 'master' of https://github.com/BY-jk/sqlalchemy
Mike Bayer [Sun, 8 Jun 2014 21:52:51 +0000 (17:52 -0400)] 
Merge branch 'master' of https://github.com/BY-jk/sqlalchemy

11 years agoMaterialized paths example.
Jack Zhou [Sun, 8 Jun 2014 01:39:18 +0000 (18:39 -0700)] 
Materialized paths example.

11 years agoonce kwarg in event funcs is new in 0.9.4
Justin Wood (Callek) [Thu, 29 May 2014 17:47:19 +0000 (13:47 -0400)] 
once kwarg in event funcs is new in 0.9.4

event.listen and event.listen_for have a kwarg once added in 0.9.4 (not 0.9.3) CHANGELOG agrees with this as well. (as does my manual testing)

11 years ago- fix this test for MySQL, needs InnoDB
Mike Bayer [Fri, 30 May 2014 22:09:11 +0000 (18:09 -0400)] 
- fix this test for MySQL, needs InnoDB

11 years ago- remove drizzle dialect
Mike Bayer [Fri, 30 May 2014 22:06:09 +0000 (18:06 -0400)] 
- remove drizzle dialect
- restore mysqldb fully within dialects/mysql/, it's no longer a connector.
fixes #2984

11 years ago- vastly improve the "safe close cursor" tests in test_reconnect
Mike Bayer [Fri, 30 May 2014 20:24:38 +0000 (16:24 -0400)] 
- vastly improve the "safe close cursor" tests in test_reconnect
- Fixed bug which would occur if a DBAPI exception
occurs when the engine first connects and does its initial checks,
and the exception is not a disconnect exception, yet the cursor
raises an error when we try to close it.  In this case the real
exception would be quashed as we tried to log the cursor close
exception via the connection pool and failed, as we were trying
to access the pool's logger in a way that is inappropriate
in this very specific scenario. fixes #3063

11 years ago- The ``__mapper_args__`` dictionary is copied from a declarative
Mike Bayer [Fri, 30 May 2014 19:36:13 +0000 (15:36 -0400)] 
- The ``__mapper_args__`` dictionary is copied from a declarative
mixin or abstract class when accessed, so that modifications made
to this dictionary by declarative itself won't conflict with that
of other mappings.  The dictionary is modified regarding the
``version_id_col`` and ``polymorphic_on`` arguments, replacing the
column within with the one that is officially mapped to the local
class/table. fixes #3062

11 years agofix typo
Mike Bayer [Fri, 30 May 2014 17:20:58 +0000 (13:20 -0400)] 
fix typo

11 years agoMerged in chrisw/sqlalchemy/more_range_docs (pull request #20)
Mike Bayer [Fri, 30 May 2014 17:02:05 +0000 (13:02 -0400)] 
Merged in chrisw/sqlalchemy/more_range_docs (pull request #20)

more docs for using psycopg2 range types, specifically instantiating models with them

fixes #3046

11 years ago- changelog + docs for pg8000 transaction isolation level
Mike Bayer [Fri, 30 May 2014 16:27:42 +0000 (12:27 -0400)] 
- changelog + docs for pg8000 transaction isolation level

11 years agoMerge branch 'master' of https://github.com/tlocke/sqlalchemy into tlocke-master
Mike Bayer [Fri, 30 May 2014 16:08:26 +0000 (12:08 -0400)] 
Merge branch 'master' of https://github.com/tlocke/sqlalchemy into tlocke-master

11 years agoupdate comments
Mike Bayer [Fri, 30 May 2014 16:00:05 +0000 (12:00 -0400)] 
update comments

11 years ago- The psycopg2 ``.closed`` accessor is now consulted when determining
Mike Bayer [Fri, 30 May 2014 15:56:19 +0000 (11:56 -0400)] 
- The psycopg2 ``.closed`` accessor is now consulted when determining
if an exception is a "disconnect" error; ideally, this should remove
the need for any other inspection of the exception message to detect
disconnect, however we will leave those existing messages in place
as a fallback.   This should be able to handle newer cases like
"SSL EOF" conditions.  Pull request courtesy Dirk Mueller.
fixes #3021

11 years agoMerge branch 'psycopg_disconnect' of https://github.com/dirkmueller/sqlalchemy
Mike Bayer [Fri, 30 May 2014 15:53:46 +0000 (11:53 -0400)] 
Merge branch 'psycopg_disconnect' of https://github.com/dirkmueller/sqlalchemy

11 years agoWrong type usage
BY-jk [Fri, 30 May 2014 13:18:02 +0000 (15:18 +0200)] 
Wrong type usage

Wrong Type (TEXT) being used in StringTest

11 years agoMerge branch 'master' into rel_1_0
Mike Bayer [Fri, 30 May 2014 05:38:45 +0000 (01:38 -0400)] 
Merge branch 'master' into rel_1_0

11 years agorevert this, not sure why that changed
Mike Bayer [Fri, 30 May 2014 05:38:12 +0000 (01:38 -0400)] 
revert this, not sure why that changed

11 years agoMerge branch 'master' into rel_1_0
Mike Bayer [Fri, 30 May 2014 05:34:15 +0000 (01:34 -0400)] 
Merge branch 'master' into rel_1_0

11 years ago- Related to :ticket:`3060`, an adjustment has been made to the unit
Mike Bayer [Fri, 30 May 2014 05:32:53 +0000 (01:32 -0400)] 
- Related to :ticket:`3060`, an adjustment has been made to the unit
of work such that loading for related many-to-one objects is slightly
more aggressive, in the case of a graph of self-referential objects
that are to be deleted; the load of related objects is to help
determine the correct order for deletion if passive_deletes is
not set.
- revert the changes to test_delete_unloaded_m2o, these deletes do in fact
need to occur in the order of the two child objects first.

11 years agoMerge branch 'master' into rel_1_0
Mike Bayer [Fri, 30 May 2014 04:22:04 +0000 (00:22 -0400)] 
Merge branch 'master' into rel_1_0

11 years ago- add a new assertsql construct "Or", so that we can test for a UOW flush
Mike Bayer [Fri, 30 May 2014 04:21:11 +0000 (00:21 -0400)] 
- add a new assertsql construct "Or", so that we can test for a UOW flush
that might take one of multiple directions; apply this to test_delete_unloaded_m2o
which is now illustrating multiple paths due to #3060/#3061, though still doing the
right thing.

11 years agoMerge branch 'master' into rel_1_0
Mike Bayer [Thu, 29 May 2014 23:57:07 +0000 (19:57 -0400)] 
Merge branch 'master' into rel_1_0

11 years agoadd ticket
Mike Bayer [Thu, 29 May 2014 23:57:03 +0000 (19:57 -0400)] 
add ticket

11 years agoMerge branch 'master' into rel_1_0
Mike Bayer [Thu, 29 May 2014 23:55:11 +0000 (19:55 -0400)] 
Merge branch 'master' into rel_1_0

11 years ago- Adjustment to attribute mechanics concerning when a value is
Mike Bayer [Thu, 29 May 2014 23:54:51 +0000 (19:54 -0400)] 
- Adjustment to attribute mechanics concerning when a value is
implicitly initialized to None via first access; this action,
which has always resulted in a population of the attribute,
now emits an attribute event just like any other attribute set
operation and generates the same kind of history as one.  Additionally,
many mapper internal operations will no longer implicitly generate
these "None" values when various never-set attributes are checked.
These are subtle behavioral fixes to attribute mechanics which provide
a better solution to the problem of :ticket:`3060`, which also
involves recognition of attributes explicitly set to ``None``
vs. attributes that were never set.
fixes #3061

11 years agoMerge branch 'master' into rel_1_0
Mike Bayer [Thu, 29 May 2014 22:52:21 +0000 (18:52 -0400)] 
Merge branch 'master' into rel_1_0

11 years agorelative here
Mike Bayer [Thu, 29 May 2014 22:52:15 +0000 (18:52 -0400)] 
relative here

11 years agoMerge branch 'master' into rel_1_0
Mike Bayer [Thu, 29 May 2014 20:42:45 +0000 (16:42 -0400)] 
Merge branch 'master' into rel_1_0

11 years ago- correct the size on side elements
Mike Bayer [Thu, 29 May 2014 20:42:11 +0000 (16:42 -0400)] 
- correct the size on side elements

11 years agoMerge branch 'master' into rel_1_0
Mike Bayer [Thu, 29 May 2014 19:55:38 +0000 (15:55 -0400)] 
Merge branch 'master' into rel_1_0

11 years ago- re-merge doc_nav. We've removed the whole idea of a "fixed top", and moved the
Mike Bayer [Thu, 29 May 2014 19:54:13 +0000 (15:54 -0400)] 
- re-merge doc_nav.  We've removed the whole idea of a "fixed top", and moved the
"fixed" thing entirely to the left side.  The content now regains full vertical real estate, such
that there's no workarounds needed for anchors, they work directly again.
we had to reorganize the whole layout to accommodate this however.

11 years agofix
Mike Bayer [Thu, 29 May 2014 19:49:04 +0000 (15:49 -0400)] 
fix

11 years agomore
Mike Bayer [Thu, 29 May 2014 19:38:17 +0000 (15:38 -0400)] 
more

11 years ago- all new approach which allows the main text to be on the top
Mike Bayer [Thu, 29 May 2014 19:26:31 +0000 (15:26 -0400)] 
- all new approach which allows the main text to be on the top

11 years agoMerge branch 'master' into rel_1_0
Mike Bayer [Thu, 29 May 2014 16:28:51 +0000 (12:28 -0400)] 
Merge branch 'master' into rel_1_0

11 years ago- disable the scrolling layout, anchors for code/params are not working,
Mike Bayer [Thu, 29 May 2014 16:28:19 +0000 (12:28 -0400)] 
- disable the scrolling layout, anchors for code/params are not working,
and the current approach used for sections is not able to work for fine-grained
anchors like these, another approach needs to be taken.

11 years agoMerge branch 'master' into rel_1_0
Mike Bayer [Thu, 29 May 2014 00:01:40 +0000 (20:01 -0400)] 
Merge branch 'master' into rel_1_0

11 years ago- Fixed a few edge cases which arise in the so-called "row switch"
Mike Bayer [Thu, 29 May 2014 00:01:21 +0000 (20:01 -0400)] 
- Fixed a few edge cases which arise in the so-called "row switch"
scenario, where an INSERT/DELETE can be turned into an UPDATE.
In this situation, a many-to-one relationship set to None, or
in some cases a scalar attribute set to None, may not be detected
as a net change in value, and therefore the UPDATE would not reset
what was on the previous row.   This is due to some as-yet
unresovled side effects of the way attribute history works in terms
of implicitly assuming None isn't really a "change" for a previously
un-set attribute.  See also :ticket:`3061`. fixes #3060

11 years ago- a rework of doc layout and nav:
Mike Bayer [Wed, 28 May 2014 14:56:52 +0000 (10:56 -0400)] 
- a rework of doc layout and nav:
  - reduce the real estate for the top nav; move the search box
    into the top yellow box, close in space
  - use a new CSS/js approach such that the top toolbar freezes from
    scrolling at the top of the page.  The left nav scrolls independently
    of the content pane so that the local contents remain visible regardless
    of scrolling.   this approach is disabled on mobile where the dual scrollbars
    may be cumbersome (overall the site is not well designed for mobile).

11 years ago- a rework of doc layout and nav:
Mike Bayer [Wed, 28 May 2014 14:56:52 +0000 (10:56 -0400)] 
- a rework of doc layout and nav:
  - reduce the real estate for the top nav; move the search box
    into the top yellow box, close in space
  - use a new CSS/js approach such that the top toolbar freezes from
    scrolling at the top of the page.  The left nav scrolls independently
    of the content pane so that the local contents remain visible regardless
    of scrolling.   this approach is disabled on mobile where the dual scrollbars
    may be cumbersome (overall the site is not well designed for mobile).

11 years ago- add some more height here so that anchors come out
Mike Bayer [Tue, 27 May 2014 23:06:30 +0000 (19:06 -0400)] 
- add some more height here so that anchors come out

11 years ago- disallow negative scroll positions from affecting the left nav position
Mike Bayer [Tue, 27 May 2014 22:34:56 +0000 (18:34 -0400)] 
- disallow negative scroll positions from affecting the left nav position

11 years ago- again use "fixed" for sidebar in all automated cases, dynamically
Mike Bayer [Tue, 27 May 2014 21:55:38 +0000 (17:55 -0400)] 
- again use "fixed" for sidebar in all automated cases, dynamically
adjust its top within the initial scroll period, this is what foundationdb
is doing.   For whatever reason that comes out smooth on all browsers.
the rationale is so that its independently scrollable at all times.

11 years ago- go back to float:left for the sidenav in normal mode, we had a clear:right
Mike Bayer [Tue, 27 May 2014 21:05:50 +0000 (17:05 -0400)] 
- go back to float:left for the sidenav in normal mode, we had a clear:right
causing the issue

11 years agoOK this one seems to be the most solid
Mike Bayer [Tue, 27 May 2014 20:53:49 +0000 (16:53 -0400)] 
OK this one seems to be the most solid

11 years ago- use relative/absolute positioning and greatly simplify everything,
Mike Bayer [Tue, 27 May 2014 17:24:58 +0000 (13:24 -0400)] 
- use relative/absolute positioning and greatly simplify everything,
works in chrome + safari

11 years agomore tweaks
Mike Bayer [Mon, 26 May 2014 20:40:24 +0000 (16:40 -0400)] 
more tweaks

11 years ago- automate the offset part
Mike Bayer [Mon, 26 May 2014 17:11:10 +0000 (13:11 -0400)] 
- automate the offset part

11 years ago- add mobile detection, turn the whole thing off if mobile
Mike Bayer [Mon, 26 May 2014 16:37:48 +0000 (12:37 -0400)] 
- add mobile detection, turn the whole thing off if mobile

11 years ago- pull in the whole top into the fixed part, reduce the size, clean it up
Mike Bayer [Mon, 26 May 2014 16:31:43 +0000 (12:31 -0400)] 
- pull in the whole top into the fixed part, reduce the size, clean it up

11 years ago- Fixed bug in INSERT..FROM SELECT construct where selecting from a
Mike Bayer [Sun, 25 May 2014 18:08:41 +0000 (14:08 -0400)] 
- Fixed bug in INSERT..FROM SELECT construct where selecting from a
UNION would wrap the union in an anonymous (e.g. unlabled) subquery.
fixes #3044

11 years ago- Added the ``hashable=False`` flag to the PG :class:`.HSTORE` type, which
Mike Bayer [Sun, 25 May 2014 17:58:08 +0000 (13:58 -0400)] 
- Added the ``hashable=False`` flag to the PG :class:`.HSTORE` type, which
is needed to allow the ORM to skip over trying to "hash" an ORM-mapped
HSTORE column when requesting it in a mixed column/entity list.
Patch courtesy Gunnlaugur Þór Briem.  Fixes #3053

11 years ago- Fixed bug in subquery eager loading where a long chain of
Mike Bayer [Sun, 25 May 2014 17:45:32 +0000 (13:45 -0400)] 
- Fixed bug in subquery eager loading where a long chain of
eager loads across a polymorphic-subclass boundary in conjunction
with polymorphic loading would fail to locate the subclass-link in the
chain, erroring out with a missing property name on an
:class:`.AliasedClass`. fixes #3055

11 years ago- Fixed bug in SQLite join rewriting where anonymized column names
Mike Bayer [Sun, 25 May 2014 15:32:07 +0000 (11:32 -0400)] 
- Fixed bug in SQLite join rewriting where anonymized column names
due to repeats would not correctly be rewritten in subqueries.
This would affect SELECT queries with any kind of subquery + join.
fixes #3057

11 years agomore docs for using psycopg2 range types, specifically instantiating models with...
Chris Withers [Sun, 25 May 2014 14:46:31 +0000 (15:46 +0100)] 
more docs for using psycopg2 range types, specifically instantiating models with them

11 years ago- repair oracle compilation for new limit/offset system.
Mike Bayer [Sun, 25 May 2014 01:45:15 +0000 (21:45 -0400)] 
- repair oracle compilation for new limit/offset system.

11 years ago- fix some identity map accessors
Mike Bayer [Sat, 24 May 2014 21:02:47 +0000 (17:02 -0400)] 
- fix some identity map accessors
- fix a bad comparison in MySQL w/ limit/offset thing

11 years ago- reset callcounts
Mike Bayer [Sat, 24 May 2014 20:49:25 +0000 (16:49 -0400)] 
- reset callcounts

11 years ago- revert the memoized committed_state / callables changes as they appear to add to...
Mike Bayer [Sat, 24 May 2014 20:28:23 +0000 (16:28 -0400)] 
- revert the memoized committed_state / callables changes as they appear to add to lazy loading.
not really clear which approach is better in the long run.

11 years ago- indicate all 0.9.5 issues as from 1.0.0 backported to 0.9.5
Mike Bayer [Sat, 24 May 2014 19:15:00 +0000 (15:15 -0400)] 
- indicate all 0.9.5 issues as from 1.0.0 backported to 0.9.5

11 years ago- fix typos in test
Mike Bayer [Sat, 24 May 2014 18:54:07 +0000 (14:54 -0400)] 
- fix typos in test
- restore __len__ to identity map

11 years ago- Fixed bug where the :meth:`.Operators.__and__`,
Mike Bayer [Sat, 24 May 2014 18:35:28 +0000 (14:35 -0400)] 
- Fixed bug where the :meth:`.Operators.__and__`,
:meth:`.Operators.__or__` and :meth:`.Operators.__invert__`
operator overload methods could not be overridden within a custom
:class:`.TypeEngine.Comparator` implementation.
fixes #3012

11 years ago- hyperlink all the column operators listed in the ORM tutorial common filter operato...
Mike Bayer [Sat, 24 May 2014 13:54:20 +0000 (09:54 -0400)] 
- hyperlink all the column operators listed in the ORM tutorial common filter operators section
- add language to MATCH explicitly stating this operator varies by backend and is not available
on SQLite, as the tutorial defaults to SQLite to start with, fix #3059
- on the actual match() documentation fix this up to be more accurate, list some example renderings
for different backends.  again mention SQLite not supported

11 years ago- document the compiler_kwargs accessor
Mike Bayer [Fri, 23 May 2014 18:26:22 +0000 (14:26 -0400)] 
- document the compiler_kwargs accessor
- add new FAQ for rendering SQL as a string

11 years agocall this 1.0
Mike Bayer [Fri, 23 May 2014 16:28:28 +0000 (12:28 -0400)] 
call this 1.0

11 years ago- changelog for #3034, at this point we can mark fix #3034
Mike Bayer [Fri, 23 May 2014 15:34:14 +0000 (11:34 -0400)] 
- changelog for #3034, at this point we can mark fix #3034

11 years agoMerge branch 'ticket_3034'
Mike Bayer [Fri, 23 May 2014 15:20:27 +0000 (11:20 -0400)] 
Merge branch 'ticket_3034'

11 years ago- switch master to be 1.0
Mike Bayer [Fri, 23 May 2014 15:18:46 +0000 (11:18 -0400)] 
- switch master to be 1.0

11 years ago- mark translate_row, create_instance, populate_instance, append_result as legacy
Mike Bayer [Fri, 23 May 2014 14:35:59 +0000 (10:35 -0400)] 
- mark translate_row, create_instance, populate_instance, append_result as legacy

11 years agoPEP 8 tidy of pg8000 dialect and postgresql/test_dialect.py
Tony Locke [Wed, 14 May 2014 13:47:26 +0000 (14:47 +0100)] 
PEP 8 tidy of pg8000 dialect and postgresql/test_dialect.py

11 years agoAutocommit isolation level for postgresql+pg8000
Tony Locke [Wed, 14 May 2014 13:36:08 +0000 (14:36 +0100)] 
Autocommit isolation level for postgresql+pg8000

As with postgresql+psycopg2,
execution_options(isolation_level='AUTOCOMMIT') now works for the
postgresql+pg8000 dialect.

Also enabled the autocommit test in test_dialect.py for pg8000.

11 years agoUpdated doc string for postgresql+pg8000 dialect
Tony Locke [Mon, 12 May 2014 20:47:18 +0000 (21:47 +0100)] 
Updated doc string for postgresql+pg8000 dialect

11 years agoAdd postgresql+pg8000 to floats_to_four_decimals
Tony Locke [Sun, 11 May 2014 19:58:24 +0000 (20:58 +0100)] 
Add postgresql+pg8000 to floats_to_four_decimals

pg8000 uses binary transfer of floats and so accuracy is lost for floats
that can't be represented exactly in binary.

11 years agopg8000 now passes test_extract() test
Tony Locke [Sun, 11 May 2014 16:52:53 +0000 (17:52 +0100)] 
pg8000 now passes test_extract() test

11 years agoTwo tests now work for pg800 in EnumTest
Tony Locke [Sat, 10 May 2014 13:55:21 +0000 (14:55 +0100)] 
Two tests now work for pg800 in EnumTest

The two tests, test_create_table() and test_unicode_labels() previously
failed under pg8000, but now they pass, so this commit opens them up.

11 years agopg8000 no longer truncates decimals
Tony Locke [Fri, 9 May 2014 21:30:13 +0000 (22:30 +0100)] 
pg8000 no longer truncates decimals

We can now update the requirements to remove the special case of pg8000
truncating decimals.

11 years agopg8000.dbapi is now just pg8000
Tony Locke [Fri, 9 May 2014 20:34:30 +0000 (21:34 +0100)] 
pg8000.dbapi is now just pg8000

11 years agoinlining
Mike Bayer [Mon, 19 May 2014 21:43:54 +0000 (17:43 -0400)] 
inlining

11 years agoRevert "remove events nobody uses...?"
Mike Bayer [Mon, 19 May 2014 21:28:14 +0000 (17:28 -0400)] 
Revert "remove events nobody uses...?"

This reverts commit 72a09d9e5c54e3ee8b3561da144d8379ce1df747.

11 years agoremove events nobody uses...?
Mike Bayer [Mon, 19 May 2014 20:58:22 +0000 (16:58 -0400)] 
remove events nobody uses...?

11 years ago- some inlining, speed up identity map
Mike Bayer [Mon, 19 May 2014 20:57:14 +0000 (16:57 -0400)] 
- some inlining, speed up identity map

11 years ago- more tests, including backend tests
Mike Bayer [Fri, 16 May 2014 19:33:39 +0000 (15:33 -0400)] 
- more tests, including backend tests
- implement for SQL server, use window functions when simple limit/offset not available

11 years agoMerge branch 'issue_3034' of https://bitbucket.org/dobesv/sqlalchemy/branch/issue_303...
Mike Bayer [Fri, 16 May 2014 18:45:40 +0000 (14:45 -0400)] 
Merge branch 'issue_3034' of https://bitbucket.org/dobesv/sqlalchemy/branch/issue_3034 into ticket_3034

11 years ago- changelog for #2785
Mike Bayer [Fri, 16 May 2014 17:09:50 +0000 (13:09 -0400)] 
- changelog for #2785
- refactor tests a bit
fixes #2785

11 years agoMerge branch 'zero_indexes-param-for-postgresql-ARRAY-type' of https://bitbucket...
Mike Bayer [Fri, 16 May 2014 17:01:19 +0000 (13:01 -0400)] 
Merge branch 'zero_indexes-param-for-postgresql-ARRAY-type' of https://bitbucket.org/LevonXXL/sqlalchemy/overview into t