aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-09-07 10:13:04 +0000
committerstuconnolly <stuart02@gmail.com>2012-09-07 10:13:04 +0000
commit6e61494ac196fa2d497b4e3df58d23b8bacb499a (patch)
tree457ed8932ab75596ca6bdbdc32ec43275a6ff7fb
parenteb2428e792b81351e1ba4c74adb2f8f18e9a7467 (diff)
downloadsequelpro-6e61494ac196fa2d497b4e3df58d23b8bacb499a.tar.gz
sequelpro-6e61494ac196fa2d497b4e3df58d23b8bacb499a.tar.bz2
sequelpro-6e61494ac196fa2d497b4e3df58d23b8bacb499a.zip
Handle numeric type as string data.
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m1
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresTypes.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m b/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m
index 3e72163e..a2e364f8 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m
+++ b/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m
@@ -29,6 +29,7 @@ static FLXPostgresOid FLXPostgresTypeStringTypes[] =
FLXPostgresOidText,
FLXPostgresOidChar,
FLXPostgresOidName,
+ FLXPostgresOidNumeric,
FLXPostgresOidVarchar,
FLXPostgresOidUnknown,
0
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTypes.h b/Frameworks/PostgresKit/Source/FLXPostgresTypes.h
index de6149c5..b8e70a6c 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresTypes.h
+++ b/Frameworks/PostgresKit/Source/FLXPostgresTypes.h
@@ -110,6 +110,6 @@ enum
FLXPostgresOidVarbit = 1562, // Currently not supported
// Numeric
- FLXPostgresOidNumeric = 1700, // Currently not supported
+ FLXPostgresOidNumeric = 1700, // StringHandler
FLXPostgresOidMax = 1700 // Currently not supported
};