pg_lo_tell

Name

pg_lo_tell -- return the current seek position of a large object -- 現在のラージオブジェクトのシーク位置を返します

Synopsis

pg_lo_tell conn fd

入力

conn

Specifies a valid database connection.

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

fd

File descriptor for the large object from pg_lo_open.

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

出力

offset

A zero-based offset in bytes suitable for input to pg_lo_lseek.

pg_lo_lseek への入力として使用できる、0 から始ま るバイト単位のオフセット。

説明

pg_lo_tell returns the current to offset in bytes from the beginning of the large object.

pg_lo_tell はラージオブジェクトの先頭から数えた、 現在の offset をバイト単 位で返します。

使用方法