summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--ext/pgsql/pgsql.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 2deb0e295b..10634a1ab3 100644
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,10 @@ PHP NEWS
- FPM:
. Fix bug #67531 (syslog cannot be set in pool configuration). (Remi)
+- pgsql:
+ . Fix bug #67550 (Error in code "form" instead of "from", pgsql.c, line 756),
+ which affected builds against libpq < 7.3. (Adam)
+
- Streams:
. Fixed bug #67430 (http:// wrapper doesn't follow 308 redirects). (Adam)
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index be915ae5ae..e2b417ea2c 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -753,7 +753,7 @@ static int le_link, le_plink, le_result, le_lofp, le_string;
#endif
#if !HAVE_PQESCAPE_CONN
-#define PQescapeStringConn(conn, to, form, len, error) PQescapeString(to, from, len)
+#define PQescapeStringConn(conn, to, from, len, error) PQescapeString(to, from, len)
#endif
#if HAVE_PQESCAPELITERAL