pg_lo_creat
Prev | 4.6.Large Object Processing Commands | Next

## pg_lo_creat

pg_lo_creat — 巨大対象を生成する Create a large object

## 構文 Synopsis

    pg_lo_creat conn mode

## 説明 Description

`pg_lo_creat` は巨大対象を生成する｡ `pg_lo_creat` creates a large object.

## 引数 Arguments

`conn`

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

`mode`

  巨大対象の為の利用様式｡それは`INV_READ` と `INV_WRITE`のどれでも互いに､又は､で接続ができる｡“又は”の演算子は`|`である｡譬えば: The access mode for the large object. It can be any or'ing together of `INV_READ` and `INV_WRITE`. The “or” operator is `|`. For example:

      [pg_lo_creat $conn "INV_READ|INV_WRITE"]

## 戻り値 Return Value

生成された巨大対象の対象識別子｡ The OID of the large object created.

不都合が生じると､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 機能 lo_creat を使うか模擬する｡ This command uses or emulates the PostgreSQL libpq function `lo_creat`.

Prev | Up | Next
4.6.Large Object Processing Commands | Home | pg_lo_open