From 258acbeb72f012abcba1618e6930dda58307c5cc Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Mon, 22 Feb 2010 20:24:06 +0000 Subject: Fixed up the pypostgresql PGNumeric bind_processor to convert input to a string. --- lib/sqlalchemy/dialects/postgresql/pypostgresql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/dialects/postgresql/pypostgresql.py') diff --git a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py index 88f1acde7..1e401579e 100644 --- a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py +++ b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py @@ -16,7 +16,7 @@ from sqlalchemy import processors class PGNumeric(sqltypes.Numeric): def bind_processor(self, dialect): - return None + return processors.to_str def result_processor(self, dialect, coltype): if self.asdecimal: -- cgit v1.2.1