.\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... .\" Translated by Mitsuhiro Maeda (mitsu@cni.co.jp) .TH ECPG UNIX 2/11/98 日本語PostgreSQL 日本語PostgreSQL .SH 名称 .\" ecpg - embedded SQL preprocessor for C ecpg - C の埋め込み SQL のプリプロセッサです .SH 形式 .BR ecpg [\c .BR "-v" ] [\c .BR "-d" ] [\c .BR "-o" outfile ] file1 [file2] [...] .in -5n .SH 説明 .\" ecpg an embedded SQL in C package for PostgreSQL. ecpg は PostgreSQL のためのCの埋め込みSQLパッケージです。 .\" It enables you to .\" develop C programs with embedded SQL code. C プログラムの中に SQL コードを埋め込んで開発できます。 .PP .\" .IR "ecpg" .\" understands the following command-line options: .IR "ecpg" は次のコマンドラインオプションを取ることができます: .TP .BR "-v" .\" Print version information. バージョン情報を表示します。 .TP .BR "-d" .\" Turn on debugging. デバッグをオンにします。 .TP .BR "-o" " outfile" .\" Specifies that .\" .IR "ecpg" .\" should write all its output to .\" .IR "outfile". .IR "ecpg" の出力をすべて .IR "outfile" に出すようにします。 .\" If no such option is given the output is written to foo.c .\" if the input file was name foo.pgc or to foo.bar.c if the input file was .\" foo.bar. もしこのオプションがなければ、 インプットファイルが foo.pgc の時 foo.c に、 インプットファイルが foo.bar の時 foo.bar.c に出力されます。 .TP .BR "file1, file2, ..." .\" The files to be processed. 処理するファイルです。 .SH バグ .\" The return code is alway -1 in case of an error. エラーの時の戻り値はいつも -1 です。 .\" You cannot see which error .\" occured by examining the return code. 戻り値を調べてどのエラーが起こったかを判断することはできません。 .TP .\" The cursor is opened when the declare statement is issued. declare 文が発行されると、カーソルは開かれます。 .TP .\" ecpg does not understand enum datatypes. ecpg は enum データ型を理解しません。 .TP .\" The is no exec sql prepare statement. exec sql prepare 文はありません。 .TP .\" The complete structure definition has to be listed inside the declare section for ecpg to be able to understand it. ecpg が理解できるように、declare 文の中で完全な構造体定義が必要です。 .TP .\" Each variable has to be defined on a line on its own. 変数はその行で定義されなくてはなりません。 .TP .\" There is no way yet to fill a complete array with one call except arrays of [unsigned] char .\" which are considered strings. まだ配列を一度に埋めることはできません。[unsigned] char の配列だけはできて、文字列として扱われます。 .TP .\" ecpg cannot use pointer variables except [unsigned] char * ecpg は [unsigned] char * 以外のポインタ変数は使えません。 .\" .SH "RETURN VALUE" .SH "戻り値" .\" .IR ecpg .\" returns 0 to the shell on successful completion, -1 for errors, .IR ecpg は正常に終了すると 0を、エラー時には -1を返します。 .SH 参照 cc(1).