diff options
author | stuconnolly <stuart02@gmail.com> | 2012-09-09 01:53:22 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-09-09 01:53:22 +0000 |
commit | 38adbb6ec450553074432db1dc0c4907dc064e8e (patch) | |
tree | 3e49296c8d8e3310ee030878d5bc37c6efd95d0f /Frameworks/PostgresKit/Source | |
parent | 3cce2b1a18eec301a2779806d8a01d50c360ef83 (diff) | |
download | sequelpro-38adbb6ec450553074432db1dc0c4907dc064e8e.tar.gz sequelpro-38adbb6ec450553074432db1dc0c4907dc064e8e.tar.bz2 sequelpro-38adbb6ec450553074432db1dc0c4907dc064e8e.zip |
Additional type support.
Diffstat (limited to 'Frameworks/PostgresKit/Source')
3 files changed, 9 insertions, 6 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTypeNumberHandler.m b/Frameworks/PostgresKit/Source/FLXPostgresTypeNumberHandler.m index 5ea07047..d9395398 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresTypeNumberHandler.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresTypeNumberHandler.m @@ -29,7 +29,8 @@ static FLXPostgresOid FLXPostgresTypeNumberTypes[] = FLXPostgresOidInt4, FLXPostgresOidFloat4, FLXPostgresOidFloat8, - FLXPostgresOidBool, + FLXPostgresOidBool, + FLXPostgresOidOid, 0 }; diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m b/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m index fb72346b..2b1d4330 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m @@ -30,6 +30,8 @@ static FLXPostgresOid FLXPostgresTypeStringTypes[] = FLXPostgresOidName, FLXPostgresOidNumeric, FLXPostgresOidVarchar, + FLXPostgresOidXML, + FLXPostgresOidUUID, FLXPostgresOidUnknown, 0 }; diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTypes.h b/Frameworks/PostgresKit/Source/FLXPostgresTypes.h index 3216ad98..5c09e5d8 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresTypes.h +++ b/Frameworks/PostgresKit/Source/FLXPostgresTypes.h @@ -31,7 +31,7 @@ enum { // BOOL FLXPostgresOidBool = 16, // NumberHandler => NSNumber - FLXPostgresOidData = 17, // Currently not supported + FLXPostgresOidByteData = 17, // Currently not supported // Text FLXPostgresOidName = 19, // StringHandler => NSString @@ -45,10 +45,10 @@ enum FLXPostgresOidText = 25, // StringHandler => NSString // OID - FLXPostgresOidOid = 26, // Currently not supported + FLXPostgresOidOid = 26, // NumberHandler => NSNumber // XML - FLXPostgresOidXML = 142, // Currently not supported + FLXPostgresOidXML = 142, // StringHandler => NSString // Geometric FLXPostgresOidPoint = 600, // Currently not supported @@ -76,7 +76,6 @@ enum // Network FLXPostgresOidMacAddr = 829, // Currently not supported FLXPostgresOidIPAddr = 869, // Currently not supported - FLXPostgresOidNetAddr = 869, // Currently not supported // Arrays FLXPostgresOidArrayBool = 1000, // Currently not supported @@ -111,5 +110,6 @@ enum // Numeric FLXPostgresOidNumeric = 1700, // StringHandler => NSString - FLXPostgresOidMax = 1700 // Currently not supported + + FLXPostgresOidUUID = 2950 // StringHandler => NSString }; |