From 658beb7fbd9618a416c8625b4f8edbe19b8f59f7 Mon Sep 17 00:00:00 2001 From: Eliot Gable Date: Tue, 6 Nov 2012 22:50:29 +0000 Subject: [PATCH] This "else" condition is not an error condition. It is reached when you execute a multi-statement query and it reaches the end of all statements. --- src/switch_pgsql.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/switch_pgsql.c b/src/switch_pgsql.c index 22ab6ffd6d..9a84b2e3b0 100644 --- a/src/switch_pgsql.c +++ b/src/switch_pgsql.c @@ -289,7 +289,6 @@ SWITCH_DECLARE(switch_pgsql_status_t) switch_pgsql_next_result_timed(switch_pgsq free(res); res = NULL; *result_out = NULL; - goto error; } return SWITCH_PGSQL_SUCCESS;