summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/pdo_pgsql.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo_pgsql/pdo_pgsql.c')
-rw-r--r--ext/pdo_pgsql/pdo_pgsql.c28
1 files changed, 5 insertions, 23 deletions
diff --git a/ext/pdo_pgsql/pdo_pgsql.c b/ext/pdo_pgsql/pdo_pgsql.c
index 268bd3765..3ad08ad23 100644
--- a/ext/pdo_pgsql/pdo_pgsql.c
+++ b/ext/pdo_pgsql/pdo_pgsql.c
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pdo_pgsql.c 306939 2011-01-01 02:19:59Z felipe $ */
+/* $Id: pdo_pgsql.c 314376 2011-08-06 14:47:44Z felipe $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -50,7 +50,7 @@ const zend_function_entry pdo_pgsql_functions[] = {
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep pdo_pgsql_deps[] = {
ZEND_MOD_REQUIRED("pdo")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
/* }}} */
@@ -67,8 +67,8 @@ zend_module_entry pdo_pgsql_module_entry = {
pdo_pgsql_functions,
PHP_MINIT(pdo_pgsql),
PHP_MSHUTDOWN(pdo_pgsql),
- PHP_RINIT(pdo_pgsql),
- PHP_RSHUTDOWN(pdo_pgsql),
+ NULL,
+ NULL,
PHP_MINFO(pdo_pgsql),
"1.0.2",
STANDARD_MODULE_PROPERTIES
@@ -106,24 +106,6 @@ PHP_MSHUTDOWN_FUNCTION(pdo_pgsql)
}
/* }}} */
-/* {{{ PHP_RINIT_FUNCTION
- */
-PHP_RINIT_FUNCTION(pdo_pgsql)
-{
- /* php_pdo_register_driver(&pdo_pgsql_driver); */
- return SUCCESS;
-}
-/* }}} */
-
-/* {{{ PHP_MSHUTDOWN_FUNCTION
- */
-PHP_RSHUTDOWN_FUNCTION(pdo_pgsql)
-{
- /* php_pdo_unregister_driver(&pdo_pgsql_driver); */
- return SUCCESS;
-}
-/* }}} */
-
/* {{{ PHP_MINFO_FUNCTION
*/
PHP_MINFO_FUNCTION(pdo_pgsql)
@@ -134,7 +116,7 @@ PHP_MINFO_FUNCTION(pdo_pgsql)
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: pdo_pgsql.c 306939 2011-01-01 02:19:59Z felipe $ ");
+ php_info_print_table_row(2, "Revision", " $Id: pdo_pgsql.c 314376 2011-08-06 14:47:44Z felipe $ ");
php_info_print_table_end();
}