バージョンごとのドキュメント一覧

ALTER LARGE OBJECT

ALTER LARGE OBJECT <refpurpose>change the definition of a large object</refpurpose> — ラージオブジェクトの定義を変更する

概要

ALTER LARGE OBJECT large_object_oid OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }

説明

<title>Description</title>

<command>ALTER LARGE OBJECT</command> changes the definition of a large object. ALTER LARGE OBJECTはラージオブジェクトの定義を変更します。

You must own the large object to use <command>ALTER LARGE OBJECT</command>. To alter the owner, you must also be able to <literal>SET ROLE</literal> to the new owning role. (However, a superuser can alter any large object anyway.) Currently, the only functionality is to assign a new owner, so both restrictions always apply. ALTER LARGE OBJECTを使用するためにはラージオブジェクトを所有していなければなりません。 所有者を変更するには、新しい所有者ロールに対してSET ROLEができなければなりません。 (しかし、スーパーユーザはラージオブジェクトを変更できます。) 今のところ、唯一の機能は新しい所有者の割り当てですので、両方の制限が常に適用されます。

パラメータ

<title>Parameters</title>
large_object_oid

OID of the large object to be altered 変更対象のラージオブジェクトのOIDです。

new_owner

The new owner of the large object ラージオブジェクトの新しい所有者です。

互換性

<title>Compatibility</title>

There is no <command>ALTER LARGE OBJECT</command> statement in the SQL standard. 標準SQLにはALTER LARGE OBJECT文はありません。

関連項目

<title>See Also</title> 第35章