mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
check PQsetErrorContextVisibility availability (libpq >= 9.6)
This commit is contained in:
@@ -2834,6 +2834,7 @@ PHP_FUNCTION(pg_set_error_verbosity)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
#ifdef HAVE_PG_CONTEXT_VISIBILITY
|
||||
PHP_FUNCTION(pg_set_error_context_visibility)
|
||||
{
|
||||
zval *pgsql_link = NULL;
|
||||
@@ -2856,6 +2857,7 @@ PHP_FUNCTION(pg_set_error_context_visibility)
|
||||
RETURN_THROWS();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/* {{{ Set client encoding */
|
||||
PHP_FUNCTION(pg_set_client_encoding)
|
||||
|
||||
Reference in New Issue
Block a user