Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1af403e

Browse files
committed
Complete options help and put it in less random order.
1 parent33ab0d9 commit1af403e

File tree

2 files changed

+38
-7
lines changed

2 files changed

+38
-7
lines changed

‎doc/src/sgml/ref/ecpg-ref.sgml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/ecpg-ref.sgml,v 1.28 2003/09/20 20:12:05 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/ecpg-ref.sgml,v 1.29 2003/11/0212:55:24 petere Exp $
33
PostgreSQL documentation
44
-->
55

@@ -76,6 +76,17 @@ PostgreSQL documentation
7676
</listitem>
7777
</varlistentry>
7878

79+
<varlistentry>
80+
<term><option>-C <replaceable>mode</replaceable></option></term>
81+
<listitem>
82+
<para>
83+
Set a compatibility mode. <replaceable>mode</replaceable> may
84+
be <literal>INFORMIX</literal> or
85+
<literal>INFORMIX_SE</literal>.
86+
</para>
87+
</listitem>
88+
</varlistentry>
89+
7990
<varlistentry>
8091
<term><option>-D <replaceable>symbol</replaceable></option></term>
8192
<listitem>
@@ -85,6 +96,15 @@ PostgreSQL documentation
8596
</listitem>
8697
</varlistentry>
8798

99+
<varlistentry>
100+
<term><option>-i</option></term>
101+
<listitem>
102+
<para>
103+
Parse system include files as well.
104+
</para>
105+
</listitem>
106+
</varlistentry>
107+
88108
<varlistentry>
89109
<term><option>-I <replaceable class="parameter">directory</replaceable></option></term>
90110
<listitem>
@@ -111,6 +131,17 @@ PostgreSQL documentation
111131
</listitem>
112132
</varlistentry>
113133

134+
<varlistentry>
135+
<term><option>-r <replaceable>option</replaceable></option></term>
136+
<listitem>
137+
<para>
138+
Selects a run-time behavior. Currently,
139+
<replaceable>option</replaceable> can only be
140+
<literal>no_indicator</literal>.
141+
</para>
142+
</listitem>
143+
</varlistentry>
144+
114145
<varlistentry>
115146
<term><option>-t</option></term>
116147
<listitem>

‎src/interfaces/ecpg/preproc/ecpg.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.80 2003/10/06 06:44:55 meskes Exp $ */
1+
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.81 2003/11/02 12:55:24 petere Exp $ */
22

33
/* New main for ecpg, the PostgreSQL embedded SQL precompiler. */
44
/* (C) Michael Meskes <meskes@postgresql.org> Feb 5th, 1998 */
@@ -41,18 +41,18 @@ help(const char *progname)
4141
printf("Options:\n");
4242
printf(" -c automatically generate C code from embedded SQL code;\n"
4343
" currently this works for EXEC SQL TYPE\n");
44+
printf(" -C MODE set compatibility mode;\n"
45+
" MODE may be one of \"INFORMIX\", \"INFORMIX_SE\"\n");
4446
#ifdefYYDEBUG
4547
printf(" -d generate parser debug output\n");
4648
#endif
47-
printf(" -C MODE set compatibility mode;\n"
48-
" MODE may be one of \"INFORMIX\", \"INFORMIX_SE\"\n");
49-
printf(" -r OPTION specify runtime behaviour;\n"
50-
" OPTION may only be \"no_indicator\"\n");
5149
printf(" -D SYMBOL define SYMBOL\n");
50+
printf(" -i parse system include files as well\n");
5251
printf(" -I DIRECTORY search DIRECTORY for include files\n");
5352
printf(" -o OUTFILE write result to OUTFILE\n");
53+
printf(" -r OPTION specify runtime behaviour;\n"
54+
" OPTION may only be \"no_indicator\"\n");
5455
printf(" -t turn on autocommit of transactions\n");
55-
printf(" -i parse system include files as well\n");
5656
printf(" --help show this help, then exit\n");
5757
printf(" --version output version information, then exit\n");
5858
printf("\nIf no output file is specified, the name is formed by adding .c to the\n"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp