ObjPgSQL  Check-in [5d46842834]

Overview
Comment:Adjust to ObjFW changes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5d46842834b0b2ca20994925833467ce25e49e670cf6e0d318c3d8d0e028b149
User & Date: js on 2018-11-06 21:29:34
Other Links: manifest | tags
Context
2018-11-06
21:45
Modernize coding style check-in: 491b090606 user: js tags: trunk
21:29
Adjust to ObjFW changes check-in: 5d46842834 user: js tags: trunk
2018-02-25
23:56
Fix compilation of tests check-in: 04c3ced613 user: js tags: trunk
Changes

Modified src/exceptions/PGException.m from [7f72fede49] to [6b0ae0eb82].

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;
}