36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
self = [super init];
@try {
_connection = [connection retain];
_error = [[OFString alloc]
initWithCString: PQerrorMessage([_connection PG_connection])
encoding: [OFLocalization encoding]];
} @catch (id e) {
[self release];
@throw e;
}
return self;
}
|
|
|
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
self = [super init];
@try {
_connection = [connection retain];
_error = [[OFString alloc]
initWithCString: PQerrorMessage([_connection PG_connection])
encoding: [OFLocale encoding]];
} @catch (id e) {
[self release];
@throw e;
}
return self;
}
|