aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/PostgresKit')
-rw-r--r--Frameworks/PostgresKit/Source/PGPostgresTypeStringHandler.m2
-rw-r--r--Frameworks/PostgresKit/Source/PGPostgresTypes.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/Frameworks/PostgresKit/Source/PGPostgresTypeStringHandler.m b/Frameworks/PostgresKit/Source/PGPostgresTypeStringHandler.m
index f638eb4e..e1731b38 100644
--- a/Frameworks/PostgresKit/Source/PGPostgresTypeStringHandler.m
+++ b/Frameworks/PostgresKit/Source/PGPostgresTypeStringHandler.m
@@ -31,6 +31,7 @@ static PGPostgresOid PGPostgresTypeStringTypes[] =
PGPostgresOidChar,
PGPostgresOidName,
PGPostgresOidVarChar,
+ PGPostgresOidJSON,
PGPostgresOidXML,
PGPostgresOidUUID,
PGPostgresOidBit,
@@ -86,6 +87,7 @@ static PGPostgresOid PGPostgresTypeStringTypes[] =
case PGPostgresOidName:
case PGPostgresOidVarChar:
case PGPostgresOidXML:
+ case PGPostgresOidJSON:
case PGPostgresOidUUID:
case PGPostgresOidBit:
case PGPostgresOidVarBit:
diff --git a/Frameworks/PostgresKit/Source/PGPostgresTypes.h b/Frameworks/PostgresKit/Source/PGPostgresTypes.h
index c5812c4e..fc97ac23 100644
--- a/Frameworks/PostgresKit/Source/PGPostgresTypes.h
+++ b/Frameworks/PostgresKit/Source/PGPostgresTypes.h
@@ -46,6 +46,9 @@ enum
// OID
PGPostgresOidOid = 26, // NumberHandler => NSNumber
+ // JSON
+ PGPostgresOidJSON = 114, // StringHandler => NSString
+
// XML
PGPostgresOidXML = 142, // StringHandler => NSString