pg_lo_lseek

Name

pg_lo_lseek -- seek to a position in a large object -- ラージオブジェクトの位置をシークします。

Synopsis

pg_lo_lseek conn fd offset whence

入力

conn

Specifies a valid database connection.

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

fd

File descriptor for the large object from pg_lo_open.

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

offset

Specifies a zero-based offset in bytes.

0 から始まるオフセットをバイト単位で指定します。

whence

whence can be "SEEK_CUR", "SEEK_END", or "SEEK_SET"

引数 whence には "SEEK_CUR"、"SEEK_END"、"SEEK_SET" のいずれかを指 定できます。

出力

None

なし。

説明

pg_lo_lseek positions to offset bytes from the beginning of the large object.

pg_lo_lseek はラージオブジェクトの先頭から offset バイトに位置を 変更します。

使用方法

whence can be "SEEK_CUR", "SEEK_END", or "SEEK_SET".

whence には "SEEK_CUR"、 "SEEK_END"、"SEEK_SET" のいずれかを指定できます。