aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresConnection.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-09-09 12:08:23 +0000
committerstuconnolly <stuart02@gmail.com>2012-09-09 12:08:23 +0000
commitbc39e252aed0269716525a39c5f2e034f1d56c19 (patch)
tree85870588d0ec1ac3c1715beb12c03fb40c331014 /Frameworks/PostgresKit/Source/FLXPostgresConnection.m
parentcb6a338da45d92e697335a6d066cdc9be6d4474b (diff)
downloadsequelpro-bc39e252aed0269716525a39c5f2e034f1d56c19.tar.gz
sequelpro-bc39e252aed0269716525a39c5f2e034f1d56c19.tar.bz2
sequelpro-bc39e252aed0269716525a39c5f2e034f1d56c19.zip
Add support for network address types.
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresConnection.m')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresConnection.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnection.m b/Frameworks/PostgresKit/Source/FLXPostgresConnection.m
index df00dc8e..4d6afbd8 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresConnection.m
+++ b/Frameworks/PostgresKit/Source/FLXPostgresConnection.m
@@ -344,7 +344,7 @@ static void _FLXPostgresConnectionNoticeProcessor(void *arg, const char *message
PQsetNoticeProcessor(_connection, _FLXPostgresConnectionNoticeProcessor, self);
// Register type extensions
- if (PQinitTypes(_connection)) {
+ if (!PQinitTypes(_connection)) {
NSLog(@"PostgresKit: Error: Failed to initialise type extensions. Connection might return unexpected results!");
}