cvs: php4 /ext/pgsql pgsql.c

From: Date: Sun, 31 Mar 2002 01:45:22 +0000
Subject: cvs: php4 /ext/pgsql pgsql.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10795@lists.php.net to get a copy of this message
yohgaki Sat Mar 30 20:45:22 2002 EDT Modified files: /php4/ext/pgsql pgsql.c Log: Print multibyte and SSL support is compiled in libpq or not. Index: php4/ext/pgsql/pgsql.c diff -u php4/ext/pgsql/pgsql.c:1.165 php4/ext/pgsql/pgsql.c:1.166 --- php4/ext/pgsql/pgsql.c:1.165 Sat Mar 30 20:18:32 2002 +++ php4/ext/pgsql/pgsql.c Sat Mar 30 20:45:22 2002 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pgsql.c,v 1.165 2002/03/31 01:18:32 yohgaki Exp $ */ +/* $Id: pgsql.c,v 1.166 2002/03/31 01:45:22 yohgaki Exp $ */ #include <stdlib.h> @@ -399,9 +399,19 @@ php_info_print_table_start(); php_info_print_table_header(2, "PostgreSQL Support", "enabled"); -#ifdef HAVE_PG_CONFIG_H +#if HAVE_PG_CONFIG_H php_info_print_table_row(2, "PostgreSQL(libpq) Version", PG_VERSION); -#endif +#ifdef MULTIBYTE + php_info_print_table_row(2, "Multibyte charater support", "enabled"); +#else + php_info_print_table_row(2, "Multibyte charater support", "disabled"); +#endif +#ifdef USE_SSL + php_info_print_table_row(2, "SSL support", "enabled"); +#else + php_info_print_table_row(2, "SSL support", "disabled"); +#endif +#endif /* HAVE_PG_CONFIG_H */ sprintf(buf, "%ld", PGG(num_persistent)); php_info_print_table_row(2, "Active Persistent Links", buf); sprintf(buf, "%ld", PGG(num_links));

« previous php.cvs (#10795) next »