The following set of commands will create the "pg_opclass" class containing the int_ops collection as an object with an OID of 421, print out the class, and then close it.

以下の一連のコマンドによって、421 番の OID を持つ オブジェクトとして int_ops のコレクションを含む "pg_opclass" クラスを作成し、そのクラスを出力して、 クラスを閉じます。

create pg_opclass (opcname=name)
open pg_opclass
insert oid=421 (int_ops)
print
close pg_opclass