ObjPgSQL  Check-in [959a1e5652]

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: 959a1e56521bc39cf8b6332ab0694bcc0b388e3d374fb89ecd9b4177c5c4b07a
User & Date: js on 2017-01-22 04:47:27
Other Links: manifest | tags
Context
2017-05-09
23:19
Adjust to recent ObjFW changes check-in: fc8e42990e user: js tags: trunk
2017-01-22
04:47
Adjust to ObjFW changes check-in: 959a1e5652 user: js tags: trunk
04:43
Move build-related files to build-aux check-in: 2e03d03c52 user: js tags: trunk
Changes

Modified src/exceptions/PGException.m from [3b03b54ad4] to [0be804aea6].

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
	self = [super init];

	@try {
		_connection = [connection retain];
		_error = [[OFString alloc]
		    initWithCString: PQerrorMessage([_connection PG_connection])
			   encoding: [OFSystemInfo native8BitEncoding]];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}







|







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
	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;
}