.\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... .\" $Header: /usr/local/cvsroot/pgsql/src/man/declare.l,v 1.4 1998/03/23 15:09:26 momjian Exp $ .\" Translated by Mitsuhiro Maeda (mitsu@cni.co.jp) .TH DECLARE SQL 01/23/93 日本語PostgreSQL 日本語PostgreSQL .SH 名称 .\" declare - declare a cursor declare - カーソルを宣言します .SH 形式 .nf \fBdeclare\fR [ \fBbinary\fR ] \fBcursor for\fR select statement .fi .SH 説明 .\" .BR Declare .\" allows a user to create cursors. .BR declare でユーザはカーソルを作れます。 .\" Cursors are only available in transactions. カーソルはトランザクション処理内でのみ利用できます。 .PP .\" Normal cursors return data back in ASCII format. 通常のカーソルは ASCII フォーマットでデータを返します。 .\" Since data is stored .\" natively in binary format, the system must do a conversion to produce .\" the ASCII format. データは本来バイナリフォーマットで保存されていますので、 システムは ASCII フォーマットを出すのに変換をしなくてはいけません。 .\" In addition, ASCII formats are often larger in size .\" than binary format. 加えて、 ASCII フォーマットは時にバイナリフォーマットに比べて大きくなることがあります。 .\" Once the attributes come back in ASCII, often the .\" client application then has to convert it to a binary format to .\" manipulate it anyway. 属性が ASCII で戻ると、 クライアントアプリケーションは操作を行うために それからバイナリフォーマットに変換することが多いです。 .PP .\" \fBBinary\fR cursors give you back the data in the native binary .\" representation. \fBbinary\fRカーソルは本来のバイナリ表現でデータを返します。 .\" Thus, binary cursors will tend to be a little faster .\" since there's less overhead of conversion. ですから、変換のオーバーヘッドが少なくて済みますので、 バイナリカーソルは若干速くなる傾向があります。 .PP .\" However, ASCII is architectural neutral whereas binary representation .\" can differ between different machine architecture. しかし、バイナリ表現が違うマシンアーキテクチャの間で違うことがありますが、 ASCII はアーキテクチャに中立的です。 .\" Thus, if your client .\" machine uses a different representation than you server machine, getting .\" back attributes in binary format is probably not what you want. ですから、 もしクライアントマシンがサーバマシンと異なる表現を使っているなら、 属性をバイナリフォーマットで得ることは多分望む形ではないでしょう。 .\" Also, if .\" your main purpose is displaying the data in ASCII, then getting it back .\" in ASCII will save you some effort on the client side. また、 主な目的がデータを ASCII で表示することでしたら、 ASCII でデータを入手することはクライアント側での手間を幾らか軽減するでしょう。 .PP .\" For an example, see the fetch(l) manual page. 例は fetch(l) マニュアルページを参照してください。 .SH 参照 fetch(l), begin(l), commit(l), select(l).