summaryrefslogtreecommitdiff
path: root/ext/pgsql/php_pgsql.h
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2005-04-13 21:48:33 +0000
committerDerick Rethans <derick@php.net>2005-04-13 21:48:33 +0000
commitcba30657d94f7490853cd08c41b3e6594c603bcd (patch)
tree931fad1e991adc2f6ef75140fd564857cab3f6ac /ext/pgsql/php_pgsql.h
parent36d13eb7c9207ff9050a90b72fae9630479c5fc2 (diff)
downloadphp-git-cba30657d94f7490853cd08c41b3e6594c603bcd.tar.gz
- MFH43: Fixed bug #32699 (pg_affected_rows() was defined when it was not
available).
Diffstat (limited to 'ext/pgsql/php_pgsql.h')
-rw-r--r--ext/pgsql/php_pgsql.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h
index 225d58b570..21f9ecde09 100644
--- a/ext/pgsql/php_pgsql.h
+++ b/ext/pgsql/php_pgsql.h
@@ -107,7 +107,9 @@ PHP_FUNCTION(pg_fetch_object);
PHP_FUNCTION(pg_fetch_result);
PHP_FUNCTION(pg_fetch_row);
PHP_FUNCTION(pg_fetch_all);
+#if HAVE_PQCMDTUPLES
PHP_FUNCTION(pg_affected_rows);
+#endif
PHP_FUNCTION(pg_get_result);
PHP_FUNCTION(pg_result_seek);
PHP_FUNCTION(pg_result_status);