Inherits DB_Base.

Public Member Functions | |
| DB_PostgreSQL ($conn, $persistent) | |
| _catch ($msg="") | |
| get_table_defn ($table) | |
| run_query ($sql) | |
| fetch_row (&$q) | |
| fetch_array (&$q) | |
| fetch_field (&$q, $num) | |
| num_fields (&$q) | |
| num_rows (&$q) | |
| get_insert_id () | |
| free_result ($q) | |
Public Attributes | |
| $table_defns = array() | |
PRONTO WEB FRAMEWORK Copyright (C) 2006, Judd Vinet
Description: DB driver for PostgreSQL.
Definition at line 11 of file postgresql.php.
| DB_PostgreSQL::_catch | ( | $ | msg = "" |
) |
Exception/error catcher
| string | $msg |
Reimplemented from DB_Base.
Definition at line 39 of file postgresql.php.
References DB_Base::error().
Referenced by DB_PostgreSQL().
| DB_PostgreSQL::DB_PostgreSQL | ( | $ | conn, | |
| $ | persistent | |||
| ) |
Definition at line 15 of file postgresql.php.
References DB_Base::$conn, and _catch().
| DB_PostgreSQL::fetch_array | ( | &$ | q | ) |
Definition at line 65 of file postgresql.php.
| DB_PostgreSQL::fetch_field | ( | &$ | q, | |
| $ | num | |||
| ) |
Definition at line 69 of file postgresql.php.
| DB_PostgreSQL::fetch_row | ( | &$ | q | ) |
Definition at line 61 of file postgresql.php.
Referenced by get_insert_id().
| DB_PostgreSQL::free_result | ( | $ | q | ) |
Definition at line 88 of file postgresql.php.
| DB_PostgreSQL::get_insert_id | ( | ) |
Definition at line 81 of file postgresql.php.
References fetch_row().
| DB_PostgreSQL::get_table_defn | ( | $ | table | ) |
Definition at line 44 of file postgresql.php.
| DB_PostgreSQL::num_fields | ( | &$ | q | ) |
Definition at line 73 of file postgresql.php.
| DB_PostgreSQL::num_rows | ( | &$ | q | ) |
Definition at line 77 of file postgresql.php.
| DB_PostgreSQL::run_query | ( | $ | sql | ) |
Definition at line 57 of file postgresql.php.
| DB_PostgreSQL::$table_defns = array() |
Definition at line 13 of file postgresql.php.
1.6.1