ObjPgSQL  Diff

Differences From Artifact [9e57dfeee0]:

To Artifact [de24e68bdc]:


1
2
3
4
5
6
7

8
9
10
11
12
13
14
15
16



17
18
19
20
21
1
2
3
4
5


6





7



8
9
10



11
12





-
-
+
-
-
-
-
-

-
-
-
+
+
+
-
-
-


#import "PGConnectionFailedException.h"

@implementation PGConnectionFailedException
- (OFString*)description
{
	OFAutoreleasePool *pool;

	return [OFString stringWithFormat:
	if (description != nil)
		return description;

	pool = [[OFAutoreleasePool alloc] init];
	description = [[OFString alloc] initWithFormat:
	    @"Establishing a PostgreSQL connection in class %@ failed:\n%s\n"
	    "Parameters: %@", inClass,
	    PQerrorMessage([connection PG_connection]),
	    [connection parameters]];
	    "Parameters: %@", [self inClass],
	    PQerrorMessage([_connection PG_connection]),
	    [_connection parameters]];
	[pool release];

	return description;
}
@end