ObjPgSQL  Diff

Differences From Artifact [2a3cc24231]:

To Artifact [b6c2a37189]:


1

2
3
4
5
6
7
8
1
2
3
4
5
6
7
8
9

+







#import "PGResultRow.h"
#import "PGResult+Private.h"

static id
convertType(PGresult *res, int column, OFString *string)
{
	switch (PQftype(res, column)) {
	case 16:  /* BOOLOID */
		if ([string isEqual: @"t"])
41
42
43
44
45
46
47
48
49


50
51
52
53
54
55
56
42
43
44
45
46
47
48


49
50
51
52
53
54
55
56
57







-
-
+
+







@interface PGResultRowKeyEnumerator: PGResultRowEnumerator
@end

@interface PGResultRowObjectEnumerator: PGResultRowEnumerator
@end

@implementation PGResultRow
+ rowWithResult: (PGResult *)result
	    row: (int)row
+ (instancetype)rowWithResult: (PGResult *)result
			  row: (int)row
{
	return [[[self alloc] initWithResult: result
					 row: row] autorelease];
}

- initWithResult: (PGResult *)result
	     row: (int)row