pg_lo_tell
Prev | 4.6.Large Object Processing Commands | Next

## pg_lo_tell

pg_lo_tell — 巨大対象の現在の捜索位置を返す Return the current seek position of a large object

## Synopsis

    pg_lo_tell conn descriptor

## Description

`pg_lo_tell` は､巨大対象の開始位置からの現在の 読み/書き 位置をバイト単位で返す `pg_lo_tell` returns the current read/write position in bytes from the beginning of the large object.

## Arguments

`conn`

  接続の把持子｡ The handle of the connection.

`descriptor`

  pg_lo_openからの巨大対象に関する記述子｡ A descriptor for the large object from pg_lo_open.

## Return Value

巨大対象内の現在の零-基準バイト偏移､pg_lo_lseekを使う使用に適す｡ The current zero-based byte offset in the large object, suitable for use with pg_lo_lseek.

もし不都合が生じるとtcl不都合が発せられる｡ A Tcl error will be thrown if an error occurs.

## Notes

全ての巨大対象操作はSQL翻訳区域内部で行われねばならない｡ All large object manipulation must take place within an SQL transaction block.

この命令は､符号付き32ビット偏移を使う様制限されている(約 2GB)｡ 64-bit 偏移対応はpg_lo_tell64 を参照されたい｡ This function is limited to using a 32-bit signed offset (about 2GB). See pg_lo_tell64 for 64-bit offset support.

この命令はPostgreSQL libpq 機能 lo_lseek を使うか模擬する｡ This command uses or emulates the PostgreSQL libpq function `lo_tell`.

Prev | Up | Next
pg_lo_lseek64 | Home | pg_lo_tell64