LIBPQ からのラージオブジェクトへのアクセス

Below is a sample program which shows how the large object interface in LIBPQ can be used. Parts of the program are commented out but are left in the source for the readers benefit. This program can be found in ../src/test/examples Frontend applications which use the large object interface in LIBPQ should include the header file libpq/libpq-fs.h and link with the libpq library.

以下に LIBPQ におけるラージオブジェクト・インタフェースの使い方 を示した例を示します。プログラムの一部はコメントアウトされていま すが、読者に分かりやすいようにそのまま残してあります。このプログ ラムは ../src/test/examples にあります。LIBPQ 内のラージオブジェクト・インタフェースを使用す るフロントエンドアプリケーションは、libpq/libpq-fs.h というヘッ ダファイルをインクルードし、libpq ライブラリをリンクする必要があ ります。