Commits

Tuukka Norri committed d3b2ba8

Small changes
- Removed PGTSSize, because there isn't a matching type for NSSize in PostgreSQL. Point is the closest match.
- Also removed references to tinterval. (References #174.)

  • Participants
  • Parent commits 06354e6

Comments (0)

Files changed (4)

Resources/datatypeassociations.plist

 	<string>NSDate</string>
 	<key>timestamptz</key>
 	<string>NSCalendarDate</string>
-	<key>tinterval</key>
-	<string>NSNumber</string>
 	<key>varbit</key>
 	<string>NSData</string>
 	<key>varchar</key>

Sources/BaseTen.h

  *         <td>NSCalendarDate<sup>\ref database_types_ref_1 "1"</sup></td>
  *     </tr>
  *     <tr>
- *         <td>tinterval</td>
- *         <td>NSNumber</td>
- *     </tr>
- *     <tr>
  *         <td>varbit</td>
  *         <td>NSData</td>
  *     </tr>

Sources/PGTSFoundationObjects.h

 {
 }
 @end
-
-@interface PGTSSize : PGTSAbstractClass
-{
-}
-@end

Sources/PGTSFoundationObjects.m

     return [NSValue valueWithPoint: retval];
 }
 @end
-
-
-@implementation PGTSSize
-@end
-
-
-@implementation PGTSSize (PGTSAdditions)
-+ (id) newForPGTSResultSet: (PGTSResultSet *) set withCharacters: (const char *) value type: (PGTSTypeDescription *) typeInfo
-{
-    NSPoint p = NSZeroPoint;
-    [[PGTSPoint newForPGTSResultSet: set withCharacters: value type: typeInfo] getValue: &p];
-    NSSize s;
-    s.width = p.x;
-    s.height = p.y;
-    return [NSValue valueWithSize: s];
-}
-@end