pg_affected_rows PHP 4.1.0

int pg_affected_rows(resource result)

 

Gibt die Anzahl der betroffenen Tupel zurück.

pg_cancel_query PHP 4.1.0

bool pg_cancel_query(resource connection)

 

Bricht die Anforderung ab.

pg_client_encoding PHP 3 CVS Only

string pg_client_encoding([resource connection])

 

Ermittelt die aktuelle Clientkodierung.

pg_close PHP 3.0

bool pg_close([resource connection])

 

Schließt eine PostgreSQL-Verbindung.

pg_connect PHP 3.0

resource pg_connect([string connection_string] | [string host, string port[, string options[, string tty,]] string database)

 

Öffnet eine PostgreSQL-Verbindung.

pg_connection_busy PHP 4.1.0

bool pg_connection_busy(resource connection)

 

Gibt an, ob die Verbindung gerade benutzt wird oder nicht.

pg_connection_reset PHP 4.1.0

bool pg_connection_reset(resource connection)

 

Setzt die Verbindung zurück (erneuter Verbindungsaufbau).

pg_connection_status PHP 4.1.0

int pg_connection_status(resource connnection)

 

Gibt den Verbindungsstatus zurück.

pg_convert PHP 4.3.0

array pg_convert(resource db, string table, array values[, int options])

 

Prüft und konvertiert Werte für die SQL-Anweisung von PostgreSQL.

pg_copy_from PHP 4.1.0

bool pg_copy_from(int connection, string table_name, array rows[, string delimiter[, string null_as]])

 

Kopiert Tabellen aus einem Array.

pg_copy_to PHP 4.1.0

array pg_copy_to(int connection, string table_name[, string delimiter[, string null_as]])

 

Kopiert Tabellen in ein Array.

pg_dbname PHP 3.0

string pg_dbname([resource connection])

 

Gibt den Datenbank zurück.

pg_delete PHP 4.3.0

bool pg_delete(resource db, string table, array ids[, int options])

 

Löscht Datensätze mit Werten im angegebenen Array.

pg_end_copy PHP 4.0.3

bool pg_end_copy([resource connection])

 

Stellt einen Kopierbefehl durch Synchronisation mit dem Backend fertig.

pg_escape_bytea PHP 4.1.0

string pg_escape_bytea(string data)

 

Stellt Sonderzeichen in einem String einen Rückstrich voran (für den Typ "bytea").

pg_escape_string PHP 4.1.0

string pg_escape_string(string data)

 

Stellt Sonderzeichen in einem String einen Rückstrich voran (für den Typ "text/char").

pg_fetch_all PHP 4.3.0

array pg_fetch_all(resource result)

 

Ruft alle Zeilen in ein Array ab.

pg_fetch_array PHP 3.0.1

array pg_fetch_array(resource result[, int row[, int result_type]])

 

Ruft eine Zeile in ein Array ab.

pg_fetch_object PHP 3.0.1

object pg_fetch_object(resource result[, int row[, int result_type]])

 

Ruft eine Zeile als Objekt ab.

pg_fetch_result PHP 4.1.0

mixed pg_fetch_result(resource result, [int row_number,] mixed field_name)

 

Gibt Werte aus einer Ergebnismenge zurück.

pg_fetch_row PHP 3.0.1

array pg_fetch_row(resource result[, int row[, int result_type]])

 

Gibt eine Zeile als aufgezähltes Array zurück.

pg_field_is_null PHP 4.1.0

int pg_field_is_null(resource result, [int row,] mixed field_name_or_number)

 

Prüft, ob ein Feld NULL ist.

pg_field_name PHP 4.1.0

string pg_field_name(resource result, int field_number)

 

Gibt den Namen des Felds zurück.

pg_field_num PHP 4.1.0

int pg_field_num(resource result, string field_name)

 

Gibt die Feldnummer des benannten Felds zurück.

pg_field_prtlen PHP 4.1.0

int pg_field_prtlen(resource result, [int row,] mixed field_name_or_number)

 

Gibt die gedruckte Länge zurück.

pg_field_size PHP 4.1.0

int pg_field_size(resource result, int field_number)

 

Gibt die interne Größe des Felds zurück.

pg_field_type PHP 4.1.0

string pg_field_type(resource result, int field_number)

 

Gibt den Typ des angegebenen Felds zurück.

pg_free_result PHP 4.1.0

bool pg_free_result(resource result)

 

Gibt den Ergebnisspeicher frei.

pg_get_result PHP 4.1.0

resource pg_get_result([resource connection])

 

Gibt das Ergebnis einer asynchronen Abfrage zurück.

pg_host PHP 3.0

string pg_host([resource connection])

 

Gibt den mit der Verbindung verknüpften Hostnamen zurück.

pg_insert PHP 4.3.0

bool pg_insert(resource db, string table, array values[, int options])

 

Fügt ein Wertearray in eine Tabelle ein.

pg_last_error PHP 4.1.0

string pg_last_error([resource connection])

 

Gibt die letzte Fehlermeldung als String zurück.

pg_last_oid PHP 4.1.0

string pg_last_oid(resource result)

 

Gibt die letzte Objekt-ID zurück.

pg_lo_close PHP 4.1.0

bool pg_lo_close(resource large_object)

 

Schließt ein Large Object.

pg_lo_create PHP 4.1.0

int pg_lo_create([resource connection])

 

Erstellt ein Large Object.

pg_lo_export PHP 4.1.0

bool pg_lo_export([resource connection, ] int objoid, string filename)

 

Exportiert ein Large Object direkt in eine Datei.

pg_lo_import PHP 4.1.0

int pg_lo_import([resource connection, ] string filename)

 

Importiert ein Large Object direkt aus einer Datei.

pg_lo_open PHP 4.1.0

resource pg_lo_open([resource connection,] int large_object_oid, string mode)

 

Öffnet ein Large Object und gibt den Dateideskriptor zurück.

pg_lo_read_all PHP 4.1.0

int pg_lo_read_all(resource large_object)

 

Liest ein Large Object und sendet es direkt an den Browser.

pg_lo_read PHP 4.1.0

string pg_lo_read(resource large_object[, int len])

 

Liest ein Large Object.

pg_lo_seek PHP 4.1.0

bool pg_lo_seek(resource large_object, int offset[, int whence])

 

Bestimmt die Position eines Large Object.

pg_lo_tell PHP 4.1.0

int pg_lo_tell(resource large_object)

 

Gibt die aktuelle Position eines Large Object zurück.

pg_lo_write PHP 4.1.0

int pg_lo_write(resource large_object, string buf[, int len])

 

Schreibt ein Large Object.

pg_num_fields PHP 4.1.0

int pg_num_fields(resource result)

 

Gibt die Anzahl von Feldern im Ergebnis zurück.

pg_num_rows PHP 4.1.0

int pg_num_rows(resource result)

 

Gibt die Anzahl von Zeilen im Ergebnis zurück.

pg_options PHP 3.0

string pg_options([resource connection])

 

Gibt die Verbindungsoptionen zurück.

pg_pconnect PHP 3.0

resource pg_pconnect([string connection_string] | [string host, string port[, string options[, string tty,]] string database)

 

Öffnet eine persistente PostgreSQL-Verbindung.

pg_port PHP 3.0

int pg_port([resource connection])

 

Gibt die mit der Verbindung verknüpften Portnummer zurück.

pg_put_line PHP 4.0.3

bool pg_put_line([resource connection,] string query)

 

Sendet einen mit NULL endenden String an den Backend-Server.

pg_query PHP 4.1.0

resource pg_query([resource connection,] string query)

 

Führt eine Abfrage aus.

pg_result_error PHP 4.1.0

string pg_result_error(resource result)

 

Gibt die mit dem Ergebnis verknüpfte Fehlermeldung zurück.

pg_result_status PHP 4.1.0

int pg_result_status(resource result[, long result_type])

 

Gibt den Status des Abfragergebnisses zurück.

pg_select PHP 4.3.0

array pg_select(resource db, string table, array ids[, int options])

 

Wählt Datensätze mit Werten im angegebenen Array aus.

pg_send_query PHP 4.1.0

bool pg_send_query(resource connection, string qeury)

 

Sendet eine asynchrone Abfrage.

pg_set_client_encoding PHP 3 CVS Only

int pg_set_client_encoding([resource connection,] string encoding)

 

Legt die Clientkodierung fest.

pg_trace PHP 4.0.1

bool pg_trace(string filename[, string mode[, resource connection]])

 

Aktiviert die Protokollierung einer PostgreSQL-Verbindung.

pg_tty PHP 3.0

string pg_tty([resource connection])

 

Gibt den mit der Verbindung verknüpften tty-Namen zurück.

pg_untrace PHP 4.0.1

bool pg_untrace([resource connection])

 

Deaktiviert die Protokollierung einer PostgreSQL-Verbindung.

pg_update PHP 4.3.0

bool pg_update(resource db, string table, array fields, array ids[, int options])

 

Aktualisiert die Tabelle mit Werten aus den angegebenen Feldern und Arrays.