Back to index

php5  5.3.10
Defines | Functions | Variables
php_pdo_pgsql.h File Reference
#include <libpq-fe.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define phpext_pdo_pgsql_ptr   &pdo_pgsql_module_entry

Functions

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

Variables

zend_module_entry pdo_pgsql_module_entry

Define Documentation

Definition at line 27 of file php_pdo_pgsql.h.


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

zend_module_entry pdo_pgsql_module_entry

Definition at line 59 of file pdo_pgsql.c.