database.pgsql.inc
Version
1.6.2.5 (checked in on 2006/05/24 at 20:46:41 by killes)
Description
Database interface code for PostgreSQL database servers.
Functions
| Name | Description |
|---|---|
| db_affected_rows | Determine the number of rows changed by the preceding query. |
| db_connect | Initialize a database connection. |
| db_decode_blob | Returns text from a Binary Large OBject value. |
| db_encode_blob | Returns a properly formatted Binary Large OBject value. |
| db_error | Determine whether the previous query caused an error. |
| db_escape_string | Prepare user input for use in a database query, preventing SQL injection attacks. Note: This function requires PostgreSQL 7.2 or later. |
| db_fetch_array | Fetch one result row from the previous query as an array. |
| db_fetch_object | Fetch one result row from the previous query as an object. |
| db_next_id | Return a new unique ID in the given sequence. |
| db_num_rows | Determine how many result rows were found by the preceding query. |
| db_query_range | Runs a limited-range query in the active database. |
| db_result | Return an individual result field from the previous query. |
| _db_query | Helper function for db_query(). |
