From: Tomas Vondra Date: Tue, 23 Aug 2016 13:47:22 +0000 (+0200) Subject: cast connection to (PGconn*) in grow_pool() to fix compiler warning X-Git-Tag: XL9_5_R1_4~42 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=a6d37fc30b194d131b1ff8c08c3f585d6692acd0;p=postgres-xl.git cast connection to (PGconn*) in grow_pool() to fix compiler warning --- diff --git a/src/backend/pgxc/pool/poolmgr.c b/src/backend/pgxc/pool/poolmgr.c index 6293e31ee4..47d28a4c73 100644 --- a/src/backend/pgxc/pool/poolmgr.c +++ b/src/backend/pgxc/pool/poolmgr.c @@ -2387,7 +2387,7 @@ grow_pool(DatabasePool *dbPool, Oid node) errmsg("failed to connect to node, connection string (%s)," " connection error (%s)", nodePool->connstr, - PQerrorMessage(slot->conn)))); + PQerrorMessage((PGconn*) slot->conn)))); destroy_slot(slot); /* * If we failed to connect probably number of connections on the