From 60c6d3be0273f2da5a857a8cb73a30ce8474e640 Mon Sep 17 00:00:00 2001 From: nate Date: Tue, 1 Aug 2006 02:32:30 +0000 Subject: [PATCH] Duplicating changes in [3332]. git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3333 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/model/datasources/dbo/dbo_postgres.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/model/datasources/dbo/dbo_postgres.php b/cake/libs/model/datasources/dbo/dbo_postgres.php index ef3b6d5f6..538bd7d34 100644 --- a/cake/libs/model/datasources/dbo/dbo_postgres.php +++ b/cake/libs/model/datasources/dbo/dbo_postgres.php @@ -460,7 +460,7 @@ class DboPostgres extends DboSource { if (strpos($col, 'bytea') !== false) { return 'binary'; } - if (in_array($col, array('float', 'float4', 'float8', 'double', 'decimal', 'real', 'numeric'))) { + if (in_array($col, array('float', 'float4', 'float8', 'double', 'double precision', 'decimal', 'real', 'numeric'))) { return 'float'; } return 'text';