Skip to content

Commit 4ec700a

Browse files
committed
Entity-ify a few new uses of literal <, >, and &.
1 parent 5667a53 commit 4ec700a

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

doc/src/sgml/ecpg.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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 $ -->
22

33
<chapter id="ecpg">
44
<title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
@@ -3204,9 +3204,9 @@ EXEC SQL INCLUDE sqlda.h;
32043204

32053205
EXEC SQL DESCRIBE mystmt INTO sqlda;
32063206

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-&gt;sqld);
3208+
for (i = 0; i &lt; sqlda-&gt;sqld; i++)
3209+
printf("field %d: \"%s\"\n", sqlda-&gt;sqlvar[i]-&gt;sqlname);
32103210

32113211
EXEC SQL DECLARE mycursor CURSOR FOR mystmt;
32123212
EXEC SQL OPEN mycursor;
@@ -3220,7 +3220,7 @@ EXEC SQL INCLUDE sqlda.h;
32203220
EXEC SQL CLOSE mycursor;
32213221

32223222
free(sqlda); /* The main structure is all to be free(),
3223-
* sqlda and sqlda->sqlvar is in one allocated area */
3223+
* sqlda and sqlda-&gt;sqlvar is in one allocated area */
32243224
</programlisting>
32253225
For more information, see the <literal>sqlda.h</> header and the
32263226
<literal>src/interfaces/ecpg/test/compat_informix/sqlda.pgc</literal> regression test.

doc/src/sgml/hstore.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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 $ -->
22

33
<sect1 id="hstore">
44
<title>hstore</title>
@@ -401,7 +401,7 @@ b
401401

402402
<para>
403403
<type>hstore</> has GiST and GIN index support for the <literal>@&gt;</>,
404-
<literal>?</>, <literal>?&</> and <literal>?|</> operators. For example:
404+
<literal>?</>, <literal>?&amp;</> and <literal>?|</> operators. For example:
405405
</para>
406406
<programlisting>
407407
CREATE INDEX hidx ON testhstore USING GIST (h);

doc/src/sgml/ref/create_table.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
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 $
33
PostgreSQL documentation
44
-->
55

@@ -471,7 +471,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
471471
For example, you can specify a constraint that
472472
no two rows in the table contain overlapping circles
473473
(see <xref linkend="datatype-geometric">) by using the
474-
<literal>&&</> operator.
474+
<literal>&amp;&amp;</> operator.
475475
</para>
476476

477477
<para>
@@ -1183,7 +1183,7 @@ WITH (fillfactor=70);
11831183
<programlisting>
11841184
CREATE TABLE circles (
11851185
c circle,
1186-
EXCLUDE USING gist (c WITH &&)
1186+
EXCLUDE USING gist (c WITH &amp;&amp;)
11871187
);
11881188
</programlisting>
11891189
</para>

0 commit comments

Comments
 (0)