Skip to content

Commit 389fad1

Browse files
committed
Remove use of '<' and '>' in SGML, use '&' escapes.
Update find_gt_lt to allow grep parameters to be passed into it.
1 parent 6ab23da commit 389fad1

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

doc/src/sgml/ddl.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/ddl.sgml,v 1.64 2006/10/13 21:43:17 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.65 2006/10/16 17:28:03 momjian Exp $ -->
22

33
<chapter id="ddl">
44
<title>Data Definition</title>
@@ -2342,7 +2342,7 @@ VALUES ('New York', NULL, NULL, 'NY');
23422342
<programlisting>
23432343
CHECK ( x = 1 )
23442344
CHECK ( county IN ( 'Oxfordshire', 'Buckinghamshire', 'Warwickshire' ))
2345-
CHECK ( outletID >= 100 AND outletID < 200 )
2345+
CHECK ( outletID &gt;= 100 AND outletID &lt; 200 )
23462346
</programlisting>
23472347
Ensure that the constraints guarantee that there is no overlap
23482348
between the key values permitted in different partitions. A common

doc/src/sgml/plpython.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/plpython.sgml,v 1.33 2006/09/03 22:23:58 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.34 2006/10/16 17:28:03 momjian Exp $ -->
22

33
<chapter id="plpython">
44
<title>PL/Python - Python Procedural Language</title>
@@ -123,7 +123,7 @@ CREATE FUNCTION pymax (a integer, b integer)
123123
AS $$
124124
if (a is None) or (b is None):
125125
return None
126-
if a > b:
126+
if a &gt; b:
127127
return a
128128
return b
129129
$$ LANGUAGE plpythonu;

doc/src/sgml/ref/create_opclass.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_opclass.sgml,v 1.17 2006/09/16 00:30:17 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/create_opclass.sgml,v 1.18 2006/10/16 17:28:03 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -238,8 +238,8 @@ CREATE OPERATOR CLASS gist__int_ops
238238
DEFAULT FOR TYPE _int4 USING gist AS
239239
OPERATOR 3 &&,
240240
OPERATOR 6 = RECHECK,
241-
OPERATOR 7 @>,
242-
OPERATOR 8 <@,
241+
OPERATOR 7 @&gt;,
242+
OPERATOR 8 &lt;@,
243243
OPERATOR 20 @@ (_int4, query_int),
244244
FUNCTION 1 g_int_consistent (internal, _int4, int4),
245245
FUNCTION 2 g_int_union (bytea, internal),

src/tools/find_gt_lt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
# $PostgreSQL: pgsql/src/tools/find_gt_lt,v 1.2 2006/03/11 04:38:41 momjian Exp $
3+
# $PostgreSQL: pgsql/src/tools/find_gt_lt,v 1.3 2006/10/16 17:28:03 momjian Exp $
44

5-
grep '[^]a-z0-9"/!-]>' *.sgml ref/*.sgml
6-
grep '<[^]a-z0-9"/!-]' *.sgml ref/*.sgml
5+
grep "$@" '[^]a-z0-9"/!-]>' *.sgml ref/*.sgml
6+
grep "$@" '<[^]a-z0-9"/!-]' *.sgml ref/*.sgml

0 commit comments

Comments
 (0)