]> granicus.if.org Git - php/commitdiff
Print multibyte and SSL support is compiled in libpq or not.
authorYasuo Ohgaki <yohgaki@php.net>
Sun, 31 Mar 2002 01:45:22 +0000 (01:45 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Sun, 31 Mar 2002 01:45:22 +0000 (01:45 +0000)
ext/pgsql/pgsql.c

index 413f4d2aba04fad1d9157f59911d9ce4c12a0c3a..1654f58d5a51989e5ed4d5c7762a7c65e7f6f7c0 100644 (file)
@@ -399,9 +399,19 @@ PHP_MINFO_FUNCTION(pgsql)
 
        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));