diff options
author | stuconnolly <stuart02@gmail.com> | 2012-09-04 09:05:14 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-09-04 09:05:14 +0000 |
commit | 5f61f95ab4c1c87517516c5f991799d46abf5662 (patch) | |
tree | b8b31ce6f7a1363fc6c02c96ca0cb04b15b5a0b5 | |
parent | 4053c2b5466526212e4946da4448229fe75cf323 (diff) | |
download | sequelpro-5f61f95ab4c1c87517516c5f991799d46abf5662.tar.gz sequelpro-5f61f95ab4c1c87517516c5f991799d46abf5662.tar.bz2 sequelpro-5f61f95ab4c1c87517516c5f991799d46abf5662.zip |
PostgresKit: Increase error verbosity upon successful connection.
-rw-r--r-- | Frameworks/PostgresKit/Source/FLXPostgresConnection.m | 4 |
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]; |