pg_lo_write

Name

pg_lo_write -- write a large object -- ラージオブジェクトに書き込みます。

Synopsis

pg_lo_write conn fd buf len

入力

conn

Specifies a valid database connection.

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

fd

File descriptor for the large object from pg_lo_open.

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

buf

Specifies a valid string variable to write to the large object.

ラージオブジェクトに書き込む有効な文字列変数を指定します。

len

Specifies the maximum size of the string to write.

書き込む文字列の最大サイズを指定します。

出力

None

説明

pg_lo_write writes at most len bytes to a large object from a variable buf.

pg_lo_write は多くても len バイト分、 buf 変数からラージオブ ジェクトに書き込みます。

使用方法

buf must be the actual string to write, not a variable name.

buf は変数名ではなく、 実際に書き込む文字列である必要があります。