diff options
-rw-r--r-- | contrib/postgres_fdw/connection.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/postgres_fdw/connection.c b/contrib/postgres_fdw/connection.c index 12b54f15cd6..8eb9194506c 100644 --- a/contrib/postgres_fdw/connection.c +++ b/contrib/postgres_fdw/connection.c @@ -271,8 +271,7 @@ GetConnection(UserMapping *user, bool will_prep_stmt, PgFdwConnState **state) entry->conn); disconnect_pg_server(entry); - if (entry->conn == NULL) - make_new_connection(entry, user); + make_new_connection(entry, user); begin_remote_xact(entry); } |