From 1a083af950c8157391c8df0cc17353b21475cbd9 Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Fri, 19 Dec 2014 15:05:01 +0100 Subject: [PATCH] Fix MS SQL decimal conversion. Register decimal data type in MS SQL to use the float-to-string transformation function. --- src/sources/mssql/mssql-cast-rules.lisp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sources/mssql/mssql-cast-rules.lisp b/src/sources/mssql/mssql-cast-rules.lisp index 8e16f0e..677aae2 100644 --- a/src/sources/mssql/mssql-cast-rules.lisp +++ b/src/sources/mssql/mssql-cast-rules.lisp @@ -36,6 +36,9 @@ (:source (:type "numeric") :target (:type "numeric") :using pgloader.transforms::float-to-string) + (:source (:type "decimal") :target (:type "numeric") + :using pgloader.transforms::float-to-string) + (:source (:type "money") :target (:type "numeric") :using pgloader.transforms::float-to-string)