projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1e2486
)
cast connection to (PGconn*) in grow_pool() to fix compiler warning
author
Tomas Vondra
<
[email protected]
>
Tue, 23 Aug 2016 13:47:22 +0000
(15:47 +0200)
committer
Pavan Deolasee
<
[email protected]
>
Fri, 26 Aug 2016 11:14:32 +0000
(16:44 +0530)
src/backend/pgxc/pool/poolmgr.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/pgxc/pool/poolmgr.c
b/src/backend/pgxc/pool/poolmgr.c
index 6293e31ee4c9b0bd3aeb074d74a8c643493ebd71..47d28a4c73d9bd285a87da9f3d027dceb1b39951 100644
(file)
--- 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