summaryrefslogtreecommitdiff
path: root/ext/pgsql/php_pgsql.h
diff options
context:
space:
mode:
authorChristopher Kings-Lynne <chriskl@php.net>2005-03-22 08:51:23 +0000
committerChristopher Kings-Lynne <chriskl@php.net>2005-03-22 08:51:23 +0000
commite2b87e6230f617813adf9387f81f8eb8c53f013a (patch)
treea914984e9a801c8a607bee7c6350e228c8c742f1 /ext/pgsql/php_pgsql.h
parentb30d8beebf70a92cc69a3a627d04f1aff62c1f78 (diff)
downloadphp-git-e2b87e6230f617813adf9387f81f8eb8c53f013a.tar.gz
Tweak some #if's to be more orthogonal.
(PHP pg_set_error_verbosity) New function to set PostgreSQL error verbosity (PHP pg_copy_from) Use non-deprecated API if it is available (PHP pg_copy_to) Use non-deprecated API if it is available
Diffstat (limited to 'ext/pgsql/php_pgsql.h')
-rw-r--r--ext/pgsql/php_pgsql.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h
index 3d27e7d5f3..225d58b570 100644
--- a/ext/pgsql/php_pgsql.h
+++ b/ext/pgsql/php_pgsql.h
@@ -157,6 +157,9 @@ PHP_FUNCTION(pg_untrace);
/* utility functions */
PHP_FUNCTION(pg_client_encoding);
PHP_FUNCTION(pg_set_client_encoding);
+#if HAVE_PQSETERRORVERBOSITY
+PHP_FUNCTION(pg_set_error_verbosity);
+#endif
#if HAVE_PQESCAPE
PHP_FUNCTION(pg_escape_string);
PHP_FUNCTION(pg_escape_bytea);