Back to index

php5  5.3.10
Functions | Variables
pdo_pgsql.c File Reference
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
#include "pdo/php_pdo.h"
#include "pdo/php_pdo_driver.h"
#include "php_pdo_pgsql.h"
#include "php_pdo_pgsql_int.h"

Go to the source code of this file.

Functions

 PHP_MINIT_FUNCTION (pdo_pgsql)
 PHP_MSHUTDOWN_FUNCTION (pdo_pgsql)
 PHP_MINFO_FUNCTION (pdo_pgsql)

Variables

const zend_function_entry pdo_pgsql_functions []
zend_module_entry pdo_pgsql_module_entry

Function Documentation

PHP_MINFO_FUNCTION ( pdo_pgsql  )

Definition at line 111 of file pdo_pgsql.c.

{
       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: pdo_pgsql.c 321634 2012-01-01 13:15:04Z felipe $ ");

       php_info_print_table_end();
}

Here is the call graph for this function:

PHP_MINIT_FUNCTION ( pdo_pgsql  )

Definition at line 86 of file pdo_pgsql.c.

{
       REGISTER_PDO_CLASS_CONST_LONG("PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT", PDO_PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT);
       REGISTER_PDO_CLASS_CONST_LONG("PGSQL_TRANSACTION_IDLE", (long)PGSQL_TRANSACTION_IDLE);
       REGISTER_PDO_CLASS_CONST_LONG("PGSQL_TRANSACTION_ACTIVE", (long)PGSQL_TRANSACTION_ACTIVE);
       REGISTER_PDO_CLASS_CONST_LONG("PGSQL_TRANSACTION_INTRANS", (long)PGSQL_TRANSACTION_INTRANS);
       REGISTER_PDO_CLASS_CONST_LONG("PGSQL_TRANSACTION_INERROR", (long)PGSQL_TRANSACTION_INERROR);
       REGISTER_PDO_CLASS_CONST_LONG("PGSQL_TRANSACTION_UNKNOWN", (long)PGSQL_TRANSACTION_UNKNOWN);

       php_pdo_register_driver(&pdo_pgsql_driver);
       return SUCCESS;
}

Here is the call graph for this function:

PHP_MSHUTDOWN_FUNCTION ( pdo_pgsql  )

Definition at line 102 of file pdo_pgsql.c.

Here is the call graph for this function:


Variable Documentation

Initial value:
 {
       {NULL, NULL, NULL}
}

Definition at line 43 of file pdo_pgsql.c.

zend_module_entry pdo_pgsql_module_entry
Initial value:
 {




       STANDARD_MODULE_HEADER,

       "pdo_pgsql",
       pdo_pgsql_functions,
       PHP_MINIT(pdo_pgsql),
       PHP_MSHUTDOWN(pdo_pgsql),
       NULL,
       NULL,
       PHP_MINFO(pdo_pgsql),
       "1.0.2",
       STANDARD_MODULE_PROPERTIES
}

Definition at line 59 of file pdo_pgsql.c.