From: Mike Bayer Date: Fri, 19 Mar 2010 15:58:16 +0000 (-0400) Subject: don't seem to need bind processing for pg8000 decimals. X-Git-Tag: rel_0_6beta2~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32b229fe2f50b424edbb756253c89cde6adb6474;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git don't seem to need bind processing for pg8000 decimals. --- diff --git a/lib/sqlalchemy/dialects/postgresql/pg8000.py b/lib/sqlalchemy/dialects/postgresql/pg8000.py index 9824ab104c..a620daac6a 100644 --- a/lib/sqlalchemy/dialects/postgresql/pg8000.py +++ b/lib/sqlalchemy/dialects/postgresql/pg8000.py @@ -29,9 +29,6 @@ from sqlalchemy.dialects.postgresql.base import PGDialect, \ PGCompiler, PGIdentifierPreparer, PGExecutionContext class _PGNumeric(sqltypes.Numeric): - def bind_processor(self, dialect): - return processors.to_float - def result_processor(self, dialect, coltype): if self.asdecimal: if coltype in (700, 701):