summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-05-20 20:22:07 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-05-20 20:22:07 +0000
commitafb39798825f27d0360fa0a508fd68e5062bb4b3 (patch)
treed99f540836d0b9ed8fc0e04b74fe0eb9811e0743
parentebd608ba1835f800c9df9543ca300b85b9cfa5f3 (diff)
downloadphp-git-afb39798825f27d0360fa0a508fd68e5062bb4b3.tar.gz
Fixed parameter order.
-rw-r--r--ext/pdo_pgsql/pgsql_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c
index 5b9d46fa56..5b1e0f5d42 100644
--- a/ext/pdo_pgsql/pgsql_driver.c
+++ b/ext/pdo_pgsql/pgsql_driver.c
@@ -221,11 +221,11 @@ static int pdo_pgsql_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value
#ifdef HAVE_PQPROTOCOLVERSION
spprintf(&tmp, 0,
"PID: %d; Client Encoding: %s; Is Superuser: %s; Session Authorization: %s; Date Style: %s",
+ spid,
(char*)PQparameterStatus(H->server, "client_encoding"),
(char*)PQparameterStatus(H->server, "is_superuser"),
(char*)PQparameterStatus(H->server, "session_authorization"),
- (char*)PQparameterStatus(H->server, "DateStyle"),
- spid);
+ (char*)PQparameterStatus(H->server, "DateStyle"));
#else
spprintf(&tmp, 0, "PID: %d", spid);
#endif