diff options
Diffstat (limited to 'ext/pdo_pgsql/pdo_pgsql.c')
| -rw-r--r-- | ext/pdo_pgsql/pdo_pgsql.c | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/pdo_pgsql/pdo_pgsql.c b/ext/pdo_pgsql/pdo_pgsql.c index a81a00d736..d3730afb90 100644 --- a/ext/pdo_pgsql/pdo_pgsql.c +++ b/ext/pdo_pgsql/pdo_pgsql.c @@ -30,6 +30,10 @@  #include "php_pdo_pgsql.h"  #include "php_pdo_pgsql_int.h" +#ifdef HAVE_PG_CONFIG_H +#include <pg_config.h> +#endif +  /* {{{ pdo_pgsql_functions[] */  zend_function_entry pdo_pgsql_functions[] = {  	{NULL, NULL, NULL} @@ -115,6 +119,12 @@ PHP_MINFO_FUNCTION(pdo_pgsql)  {  	php_info_print_table_start();  	php_info_print_table_header(2, "PDO Driver for PostgreSQL", "enabled"); +#ifdef HAVE_PG_CONFIG_H	 +	php_info_print_table_row(2, "PostgreSQL(libpq) Version", PG_VERSION); +#endif	 +	php_info_print_table_row(2, "Module version", pdo_pgsql_module_entry.version); +	php_info_print_table_row(2, "Revision", " $Id$ "); +  	php_info_print_table_end();  }  /* }}} */  | 
