Database independent query interface definition for PHP's PostgreSQL extension.
Located in /maintenance/libraries/pear/DB/pgsql.php (line 35)
PEAR | --DB_common | --DB_pgsql
Inherited from DB_common
DB_common::$dbh
DB_common::$errorcode_map
DB_common::$features
DB_common::$fetchmode_object_class
DB_common::$last_query
DB_common::$options
DB_common::$prepared_queries
DB_common::$prepare_maxstmt
Gets the number of rows affected by the last query.
if the last query was a select, returns 0.
Enable/disable automatic commits
Commit the current transaction.
Connect to a database and log in as the specified user.
Create the sequence
Log out and disconnect from the database.
Drop a sequence
Determine PEAR::DB error code from the database's text error message.
Get the native error code of the last error (if any) that occured on the current connection.
Escape a string according to the current DBMS's standards
PostgreSQL treats a backslash as an escape character, so they are removed.
Not using pg_escape_string() yet because it requires PostgreSQL to be at version 7.2 or greater.
Fetch a row and insert the data into an existing array.
Formating of the array and the data therein are configurable. See DB_result::fetchInto() for more information.
Free the internal resources associated with $result.
Returns the query needed to get some backend info
Returns the next free id in a sequence
Move the internal pgsql result pointer to the next available result
Get the number of columns in a result set.
Get the number of rows in a result set.
Gather information about an error, then use that info to create a DB error object and finally return that object.
Format input so it can be safely used in a query
Roll back (undo) the current transaction.
Send a query to PostgreSQL and return the results as a PostgreSQL resource identifier.
Returns information about a table or a result set.
NOTE: only supports 'table' and 'flags' if $result is a table name.
Flags of a Field
Inherited From DB_common
DB_common::DB_common()
DB_common::affectedRows()
DB_common::autoCommit()
DB_common::autoExecute()
DB_common::autoPrepare()
DB_common::buildManipSQL()
DB_common::commit()
DB_common::createSequence()
DB_common::dropSequence()
DB_common::errorCode()
DB_common::errorMessage()
DB_common::errorNative()
DB_common::escapeSimple()
DB_common::execute()
DB_common::executeEmulateQuery()
DB_common::executeMultiple()
DB_common::freePrepared()
DB_common::getAll()
DB_common::getAssoc()
DB_common::getCol()
DB_common::getListOf()
DB_common::getOne()
DB_common::getOption()
DB_common::getRow()
DB_common::getSequenceName()
DB_common::getSpecialQuery()
DB_common::getTables()
DB_common::limitQuery()
DB_common::modifyLimitQuery()
DB_common::modifyQuery()
DB_common::nextId()
DB_common::numRows()
DB_common::prepare()
DB_common::provides()
DB_common::query()
DB_common::quote()
DB_common::quoteIdentifier()
DB_common::quoteSmart()
DB_common::quoteString()
DB_common::raiseError()
DB_common::rollback()
DB_common::setFetchMode()
DB_common::setOption()
DB_common::tableInfo()
DB_common::toString()
DB_common::_convertNullArrayValuesToEmpty()
DB_common::_rtrimArrayValues()
Documentation generated on Fri, 10 Dec 2004 18:26:12 +0000 by phpDocumentor 1.3.0RC3