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

第35章 ラージオブジェクト

目次

35.1. はじめに
35.2. 実装機能
35.3. クライアントインタフェース
35.3.1. ラージオブジェクトの作成
35.3.2. ラージオブジェクトのインポート
35.3.3. ラージオブジェクトのエクスポート
35.3.4. 既存のラージオブジェクトのオープン
35.3.5. ラージオブジェクトへのデータの書き込み
35.3.6. ラージオブジェクトからのデータの読み込み
35.3.7. ラージオブジェクトのシーク
35.3.8. ラージオブジェクトのシーク位置の入手
35.3.9. ラージオブジェクトを切り詰める
35.3.10. ラージオブジェクト記述子を閉じる
35.3.11. ラージオブジェクトの削除
35.4. サーバ側の関数
35.5. サンプルプログラム
<title>Large Objects</title>

<productname>PostgreSQL</productname> has a <firstterm>large object</firstterm> facility, which provides stream-style access to user data that is stored in a special large-object structure. Streaming access is useful when working with data values that are too large to manipulate conveniently as a whole. PostgreSQLにはラージオブジェクト機能があります。 これは、特殊なラージオブジェクト構造に格納されたユーザデータに対してストリーム様式のアクセスを提供します。 全体をまるごと簡単に操作するには巨大過ぎるデータ値を操作する場合、ストリーミングアクセスが有用です。

This chapter describes the implementation and the programming and query language interfaces to <productname>PostgreSQL</productname> large object data. We use the <application>libpq</application> C library for the examples in this chapter, but most programming interfaces native to <productname>PostgreSQL</productname> support equivalent functionality. Other interfaces might use the large object interface internally to provide generic support for large values. This is not described here. 本章では、PostgreSQLラージオブジェクトデータに関する、実装、プログラミング、問い合わせ言語インタフェースについて説明します。 libpq Cライブラリを例として本章で使用していますが、ほとんどのPostgreSQL固有のプログラミングインタフェースは同等の機能を持っています。 他のインタフェースでは、巨大な値を汎用的にサポートできるように、ラージオブジェクトインタフェースを内部で使用しているかもしれません。 ここでは説明しません。