pg_affected_rows PHP 4.1.0

int pg_affected_rows(resource result)

 

変更されたタプルの数を返します。

pg_cancel_query PHP 4.1.0

bool pg_cancel_query(resource connection)

 

要求をキャンセルします。

pg_client_encoding PHP 3 CVS Only

string pg_client_encoding([resource connection])

 

現在のクライアントのエンコードを取得します。

pg_close PHP 3.0

bool pg_close([resource connection])

 

PostgreSQL 接続を閉じます。

pg_connect PHP 3.0

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

 

PostgreSQL 接続を開きます。

pg_connection_busy PHP 4.1.0

bool pg_connection_busy(resource connection)

 

接続がビジーかどうかを取得します。

pg_connection_reset PHP 4.1.0

bool pg_connection_reset(resource connection)

 

接続をリセット (再接続) します。

pg_connection_status PHP 4.1.0

int pg_connection_status(resource connnection)

 

接続のステータスを取得します。

pg_convert PHP 4.3.0

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

 

PostgreSQL SQL ステートメントの値を調べて変換します。

pg_copy_from PHP 4.1.0

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

 

配列からテーブルをコピーします。

pg_copy_to PHP 4.1.0

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

 

配列にテーブルをコピーします。

pg_dbname PHP 3.0

string pg_dbname([resource connection])

 

データベース名を取得します。

pg_delete PHP 4.3.0

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

 

ids の値を持つレコードを削除します。

pg_end_copy PHP 4.0.3

bool pg_end_copy([resource connection])

 

バックエンドと同期させることによりコピーコマンドを完了します。

pg_escape_bytea PHP 4.1.0

string pg_escape_bytea(string data)

 

文字列を bytea 型用にエスケープします。

pg_escape_string PHP 4.1.0

string pg_escape_string(string data)

 

文字列を text/char 型用にエスケープします。

pg_fetch_all PHP 4.3.0

array pg_fetch_all(resource result)

 

すべての行を配列に取り込みます。

pg_fetch_array PHP 3.0.1

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

 

行を配列として取り込みます。

pg_fetch_object PHP 3.0.1

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

 

行をオブジェクトとして取り込みます。

pg_fetch_result PHP 4.1.0

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

 

結果識別子から値を返します。

pg_fetch_row PHP 3.0.1

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

 

行を添字配列として取得します。

pg_field_is_null PHP 4.1.0

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

 

フィールドが NULL かどうかを調べます。

pg_field_name PHP 4.1.0

string pg_field_name(resource result, int field_number)

 

フィールド名を返します。

pg_field_num PHP 4.1.0

int pg_field_num(resource result, string field_name)

 

指定されたフィールド名のフィールド番号を返します。

pg_field_prtlen PHP 4.1.0

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

 

出力時の長さを返します。

pg_field_size PHP 4.1.0

int pg_field_size(resource result, int field_number)

 

フィールドの内部サイズを返します。

pg_field_type PHP 4.1.0

string pg_field_type(resource result, int field_number)

 

指定されたフィールドの型名を返します。

pg_free_result PHP 4.1.0

bool pg_free_result(resource result)

 

結果用のメモリを解放します。

pg_get_result PHP 4.1.0

resource pg_get_result([resource connection])

 

非同期クエリーの結果を取得します。

pg_host PHP 3.0

string pg_host([resource connection])

 

接続に関連付けられているホスト名を返します。

pg_insert PHP 4.3.0

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

 

値の配列をテーブルに挿入します。

pg_last_error PHP 4.1.0

string pg_last_error([resource connection])

 

エラーメッセージ文字列を取得します。

pg_last_oid PHP 4.1.0

string pg_last_oid(resource result)

 

最後のオブジェクト識別子を返します。

pg_lo_close PHP 4.1.0

bool pg_lo_close(resource large_object)

 

大きなオブジェクトを閉じます。

pg_lo_create PHP 4.1.0

int pg_lo_create([resource connection])

 

大きなオブジェクトを作成します。

pg_lo_export PHP 4.1.0

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

 

大きなオブジェクトをファイルシステムに直接エクスポートします。

pg_lo_import PHP 4.1.0

int pg_lo_import([resource connection, ] string filename)

 

大きなオブジェクトをファイルシステムに直接インポートします。

pg_lo_open PHP 4.1.0

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

 

大きなオブジェクトを開いてファイル記述子を返します。

pg_lo_read_all PHP 4.1.0

int pg_lo_read_all(resource large_object)

 

大きなオブジェクトを読み取ってブラウザに直接送信します。

pg_lo_read PHP 4.1.0

string pg_lo_read(resource large_object[, int len])

 

大きなオブジェクトを読み取ります。

pg_lo_seek PHP 4.1.0

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

 

大きなオブジェクトの位置を検索します。

pg_lo_tell PHP 4.1.0

int pg_lo_tell(resource large_object)

 

大きなオブジェクトの現在の位置を返します。

pg_lo_write PHP 4.1.0

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

 

大きなオブジェクトを書き込みます。

pg_num_fields PHP 4.1.0

int pg_num_fields(resource result)

 

結果内のフィールド数を返します。

pg_num_rows PHP 4.1.0

int pg_num_rows(resource result)

 

結果内の行数を返します。

pg_options PHP 3.0

string pg_options([resource connection])

 

接続に関連付けられているオプションを取得します。

pg_pconnect PHP 3.0

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

 

永続的な PostgreSQL 接続を開きます。

pg_port PHP 3.0

int pg_port([resource connection])

 

接続に関連付けられているポート番号を返します。

pg_put_line PHP 4.0.3

bool pg_put_line([resource connection,] string query)

 

NULL で終わる文字列をバックエンドサーバーに送信します。

pg_query PHP 4.1.0

resource pg_query([resource connection,] string query)

 

クエリーを実行します。

pg_result_error PHP 4.1.0

string pg_result_error(resource result)

 

結果に関連付けられているエラーメッセージを取得します。

pg_result_status PHP 4.1.0

int pg_result_status(resource result[, long result_type])

 

クエリー結果のステータスを取得します。

pg_select PHP 4.3.0

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

 

ids の値を持つレコードを選択します。

pg_send_query PHP 4.1.0

bool pg_send_query(resource connection, string qeury)

 

非同期クエリーを送信します。

pg_set_client_encoding PHP 3 CVS Only

int pg_set_client_encoding([resource connection,] string encoding)

 

クライアントのエンコードを設定します。

pg_trace PHP 4.0.1

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

 

PostgreSQL 接続の追跡を有効にします。

pg_tty PHP 3.0

string pg_tty([resource connection])

 

接続に関連付けられている tty 名を返します。

pg_untrace PHP 4.0.1

bool pg_untrace([resource connection])

 

PostgreSQL 接続の追跡を無効にします。

pg_update PHP 4.3.0

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

 

fields と ids の値を使用してテーブルを更新します。