diff options
author | Christopher Kings-Lynne <chriskl@php.net> | 2005-03-22 08:51:23 +0000 |
---|---|---|
committer | Christopher Kings-Lynne <chriskl@php.net> | 2005-03-22 08:51:23 +0000 |
commit | e2b87e6230f617813adf9387f81f8eb8c53f013a (patch) | |
tree | a914984e9a801c8a607bee7c6350e228c8c742f1 /ext/pgsql/php_pgsql.h | |
parent | b30d8beebf70a92cc69a3a627d04f1aff62c1f78 (diff) | |
download | php-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.h | 3 |
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); |