aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresConnection.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-09-04 09:05:14 +0000
committerstuconnolly <stuart02@gmail.com>2012-09-04 09:05:14 +0000
commit5f61f95ab4c1c87517516c5f991799d46abf5662 (patch)
treeb8b31ce6f7a1363fc6c02c96ca0cb04b15b5a0b5 /Frameworks/PostgresKit/Source/FLXPostgresConnection.m
parent4053c2b5466526212e4946da4448229fe75cf323 (diff)
downloadsequelpro-5f61f95ab4c1c87517516c5f991799d46abf5662.tar.gz
sequelpro-5f61f95ab4c1c87517516c5f991799d46abf5662.tar.bz2
sequelpro-5f61f95ab4c1c87517516c5f991799d46abf5662.zip
PostgresKit: Increase error verbosity upon successful connection.
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresConnection.m')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresConnection.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnection.m b/Frameworks/PostgresKit/Source/FLXPostgresConnection.m
index aed73ddf..8e0fba79 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresConnection.m
+++ b/Frameworks/PostgresKit/Source/FLXPostgresConnection.m
@@ -320,6 +320,10 @@ static void _FLXPostgresConnectionNoticeProcessor(void *arg, const char *message
}
if (connected) {
+
+ // Increase error verbosity
+ PQsetErrorVerbosity(_connection, PQERRORS_VERBOSE);
+
PQsetNoticeProcessor(_connection, _FLXPostgresConnectionNoticeProcessor, self);
[self _loadDatabaseParameters];