pg_lo_open
Prev | 4.6.Large Object Processing Commands | Next

## pg_lo_open

pg_lo_open — 巨大対象を開く Open a large object

## 構文 Synopsis

    pg_lo_open conn loid mode

## 説明 Description

`pg_lo_open` は巨大対象を開く｡ `pg_lo_open` opens a large object.

## 引数 Arguments

`conn`

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

`loid`

  巨大対象の OID ｡ 　 The OID of the large object.

`mode`

  巨大対象の利用様式を指定する｡様式は`r` か `w`, か `rw` のどれか｡ Specifies the access mode for the large object. Mode can be either `r`, `w`, or `rw`.

## 返り値 Return Value

後の巨大対象命令に使う為の記述子｡ 　 A descriptor for use in later large-object commands.

もし不都合が生じると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.

この命令はPostgreSQL libpq function `lo_open` を使い模擬した｡ This command uses or emulates the PostgreSQL libpq function `lo_open`.

Prev | Up | Next
pg_lo_creat | Home | pg_lo_close