pg_lo_read

Name

pg_lo_read -- read a large object -- ラージオブジェクトを読み込みます。

Synopsis

pg_lo_read conn fd bufVar len

入力

conn

Specifies a valid database connection.

有効なデータベース接続を指定します。

fd

File descriptor for the large object from pg_lo_open.

pg_lo_openで得られるラージオブジェクトのファイル記述子。

bufVar

Specifies a valid buffer variable to contain the large object segment.

ラージオブジェクトの一部を格納するためのバッファ用の有効な変数 を指定します。

len

Specifies the maximum allowable size of the large object segment.

取得するラージオブジェクトの一部分の最大許容サイズを指定します。

出力

None

なし。

説明

pg_lo_read reads at most len bytes from a large object into a variable named bufVar.

pg_lo_read はラージオブジェクトから多くても len バイトを読み込み、 bufVar という名前の変数 に保存します。

使用方法

bufVar must be a valid variable name.

bufVar は有効な変数の名 前である必要があります。