File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.97 2010/02/19 00:15:25 momjian Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.98 2010/02/27 04:29:44 tgl Exp $ -->
2
2
3
3
<chapter id="ecpg">
4
4
<title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
@@ -3204,9 +3204,9 @@ EXEC SQL INCLUDE sqlda.h;
3204
3204
3205
3205
EXEC SQL DESCRIBE mystmt INTO sqlda;
3206
3206
3207
- printf("# of fields: %d\n", sqlda-> sqld);
3208
- for (i = 0; i < sqlda-> sqld; i++)
3209
- printf("field %d: \"%s\"\n", sqlda-> sqlvar[i]-> sqlname);
3207
+ printf("# of fields: %d\n", sqlda-> sqld);
3208
+ for (i = 0; i < sqlda-> sqld; i++)
3209
+ printf("field %d: \"%s\"\n", sqlda-> sqlvar[i]-> sqlname);
3210
3210
3211
3211
EXEC SQL DECLARE mycursor CURSOR FOR mystmt;
3212
3212
EXEC SQL OPEN mycursor;
@@ -3220,7 +3220,7 @@ EXEC SQL INCLUDE sqlda.h;
3220
3220
EXEC SQL CLOSE mycursor;
3221
3221
3222
3222
free(sqlda); /* The main structure is all to be free(),
3223
- * sqlda and sqlda-> sqlvar is in one allocated area */
3223
+ * sqlda and sqlda-> sqlvar is in one allocated area */
3224
3224
</programlisting>
3225
3225
For more information, see the <literal>sqlda.h</> header and the
3226
3226
<literal>src/interfaces/ecpg/test/compat_informix/sqlda.pgc</literal> regression test.
Original file line number Diff line number Diff line change 1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/hstore.sgml,v 1.7 2010/02/17 04:19:37 tgl Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/hstore.sgml,v 1.8 2010/02/27 04:29:44 tgl Exp $ -->
2
2
3
3
<sect1 id="hstore">
4
4
<title>hstore</title>
401
401
402
402
<para>
403
403
<type>hstore</> has GiST and GIN index support for the <literal>@></>,
404
- <literal>?</>, <literal>?&</> and <literal>?|</> operators. For example:
404
+ <literal>?</>, <literal>?& </> and <literal>?|</> operators. For example:
405
405
</para>
406
406
<programlisting>
407
407
CREATE INDEX hidx ON testhstore USING GIST (h);
Original file line number Diff line number Diff line change 1
1
<!--
2
- $PostgreSQL: pgsql/doc/src/sgml/ref/create_table.sgml,v 1.122 2010/02/22 23:51:40 momjian Exp $
2
+ $PostgreSQL: pgsql/doc/src/sgml/ref/create_table.sgml,v 1.123 2010/02/27 04:29:44 tgl Exp $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -471,7 +471,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
471
471
For example, you can specify a constraint that
472
472
no two rows in the table contain overlapping circles
473
473
(see <xref linkend="datatype-geometric">) by using the
474
- <literal>&& </> operator.
474
+ <literal>&& </> operator.
475
475
</para>
476
476
477
477
<para>
@@ -1183,7 +1183,7 @@ WITH (fillfactor=70);
1183
1183
<programlisting>
1184
1184
CREATE TABLE circles (
1185
1185
c circle,
1186
- EXCLUDE USING gist (c WITH && )
1186
+ EXCLUDE USING gist (c WITH && )
1187
1187
);
1188
1188
</programlisting>
1189
1189
</para>
You can’t perform that action at this time.
0 commit comments