aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m8
1 files changed, 1 insertions, 7 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m b/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m
index de1d064d..4e45ec40 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m
+++ b/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m
@@ -28,6 +28,7 @@ static FLXPostgresOid FLXPostgresTypeStringTypes[] =
{
FLXPostgresOidText,
FLXPostgresOidChar,
+ FLXPostgresOidName,
FLXPostgresOidVarchar,
FLXPostgresOidUnknown,
0
@@ -67,11 +68,4 @@ static FLXPostgresOid FLXPostgresTypeStringTypes[] =
return [[[NSString alloc] initWithBytes:bytes length:length encoding:[_connection stringEncoding]] autorelease];
}
-- (NSString *)quotedStringFromObject:(id)object
-{
- if (!object || ![object isKindOfClass:[NSString class]]) return nil;
-
- return [NSString stringWithFormat:@"'%@'", [[object description] stringByReplacingOccurrencesOfString:@"'" withString:@"''"]];
-}
-
@end