From 5f61f95ab4c1c87517516c5f991799d46abf5662 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Tue, 4 Sep 2012 09:05:14 +0000 Subject: PostgresKit: Increase error verbosity upon successful connection. --- Frameworks/PostgresKit/Source/FLXPostgresConnection.m | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Frameworks/PostgresKit/Source') 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]; -- cgit v1.2.3