summaryrefslogtreecommitdiff
path: root/ext/pgsql/php_pgsql.h
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-05-22 15:27:59 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-05-22 15:56:24 +0200
commit4bc1d8333aa8b40a6c6fe89762f6b5a4bd309a1c (patch)
treec327f27089f916a86fbaa8f9f34f3a26d65f749f /ext/pgsql/php_pgsql.h
parentc0920e674f05f5523b67e29ac5fde1db0d56fad1 (diff)
downloadphp-git-4bc1d8333aa8b40a6c6fe89762f6b5a4bd309a1c.tar.gz
Raise ext/pgsql requirements to PostGreSQL 7.4
We can safely assume that users have at the very least libpq 7.4, for which official support ended on 2010-10-01; even CentOS 6 has 8.4 now. It is also noteworthy that PDO_PGSQL already requires libpq 7.4 or later.
Diffstat (limited to 'ext/pgsql/php_pgsql.h')
-rw-r--r--ext/pgsql/php_pgsql.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h
index bf7b8d5221..d1509a886e 100644
--- a/ext/pgsql/php_pgsql.h
+++ b/ext/pgsql/php_pgsql.h
@@ -77,33 +77,17 @@ PHP_FUNCTION(pg_tty);
PHP_FUNCTION(pg_options);
PHP_FUNCTION(pg_version);
PHP_FUNCTION(pg_ping);
-#ifdef HAVE_PQPARAMETERSTATUS
PHP_FUNCTION(pg_parameter_status);
-#endif
-#ifdef HAVE_PGTRANSACTIONSTATUS
PHP_FUNCTION(pg_transaction_status);
-#endif
/* query functions */
PHP_FUNCTION(pg_query);
-#ifdef HAVE_PQEXECPARAMS
PHP_FUNCTION(pg_query_params);
-#endif
-#ifdef HAVE_PQPREPARE
PHP_FUNCTION(pg_prepare);
-#endif
-#ifdef HAVE_PQEXECPREPARED
PHP_FUNCTION(pg_execute);
-#endif
PHP_FUNCTION(pg_send_query);
-#ifdef HAVE_PQSENDQUERYPARAMS
PHP_FUNCTION(pg_send_query_params);
-#endif
-#ifdef HAVE_PQSENDPREPARE
PHP_FUNCTION(pg_send_prepare);
-#endif
-#ifdef HAVE_PQSENDQUERYPREPARED
PHP_FUNCTION(pg_send_execute);
-#endif
PHP_FUNCTION(pg_cancel_query);
/* result functions */
PHP_FUNCTION(pg_fetch_assoc);
@@ -113,9 +97,7 @@ PHP_FUNCTION(pg_fetch_result);
PHP_FUNCTION(pg_fetch_row);
PHP_FUNCTION(pg_fetch_all);
PHP_FUNCTION(pg_fetch_all_columns);
-#ifdef HAVE_PQCMDTUPLES
PHP_FUNCTION(pg_affected_rows);
-#endif
PHP_FUNCTION(pg_get_result);
PHP_FUNCTION(pg_result_seek);
PHP_FUNCTION(pg_result_status);
@@ -139,9 +121,7 @@ PHP_FUNCTION(pg_flush);
PHP_FUNCTION(pg_get_pid);
/* error message functions */
PHP_FUNCTION(pg_result_error);
-#ifdef HAVE_PQRESULTERRORFIELD
PHP_FUNCTION(pg_result_error_field);
-#endif
PHP_FUNCTION(pg_last_error);
PHP_FUNCTION(pg_last_notice);
/* copy functions */
@@ -172,16 +152,12 @@ PHP_FUNCTION(pg_untrace);
/* utility functions */
PHP_FUNCTION(pg_client_encoding);
PHP_FUNCTION(pg_set_client_encoding);
-#ifdef HAVE_PQSETERRORVERBOSITY
PHP_FUNCTION(pg_set_error_verbosity);
-#endif
-#ifdef HAVE_PQESCAPE
PHP_FUNCTION(pg_escape_string);
PHP_FUNCTION(pg_escape_bytea);
PHP_FUNCTION(pg_unescape_bytea);
PHP_FUNCTION(pg_escape_literal);
PHP_FUNCTION(pg_escape_identifier);
-#endif
/* misc functions */
PHP_FUNCTION(pg_meta_data);