Remove use of '<' and '>' in SGML, use '&' escapes.
authorBruce Momjian <[email protected]>
Mon, 16 Oct 2006 17:28:03 +0000 (17:28 +0000)
committerBruce Momjian <[email protected]>
Mon, 16 Oct 2006 17:28:03 +0000 (17:28 +0000)
Update find_gt_lt to allow grep parameters to be passed into it.

doc/src/sgml/ddl.sgml
doc/src/sgml/plpython.sgml
doc/src/sgml/ref/create_opclass.sgml
src/tools/find_gt_lt

index 96c727787f7aab43d60c10d46332e9be38e94029..60a788aef5da97dbd0c368daa555303cd8c61424 100644 (file)
@@ -2342,7 +2342,7 @@ VALUES ('New York', NULL, NULL, 'NY');
 <programlisting>
 CHECK ( x = 1 )
 CHECK ( county IN ( 'Oxfordshire', 'Buckinghamshire', 'Warwickshire' ))
-CHECK ( outletID >= 100 AND outletID < 200 )
+CHECK ( outletID &gt;= 100 AND outletID &lt; 200 )
 </programlisting>
         Ensure that the constraints guarantee that there is no overlap
         between the key values permitted in different partitions.  A common
index 45d03f7e86eb9b17ef15bfba166b69f90b9c5e36..c9d75e49069fd0acf79ed9a7c75a26c903f9c8d3 100644 (file)
@@ -123,7 +123,7 @@ CREATE FUNCTION pymax (a integer, b integer)
 AS $$
   if (a is None) or (b is None):
     return None
-  if a > b:
+  if a &gt; b:
     return a
   return b
 $$ LANGUAGE plpythonu;
index 92b9187d3cf583462adb3563bbe579178764523e..c62fca375658f8d23cbd69119b7247db25a04a91 100644 (file)
@@ -238,8 +238,8 @@ CREATE OPERATOR CLASS gist__int_ops
     DEFAULT FOR TYPE _int4 USING gist AS
         OPERATOR        3       &&,
         OPERATOR        6       =       RECHECK,
-        OPERATOR        7       @>,
-        OPERATOR        8       <@,
+        OPERATOR        7       @&gt;,
+        OPERATOR        8       &lt;@,
         OPERATOR        20      @@ (_int4, query_int),
         FUNCTION        1       g_int_consistent (internal, _int4, int4),
         FUNCTION        2       g_int_union (bytea, internal),
index 95e94af87626c5e5ab6b8686f8e72ca235abbe5b..76c42c91e86023019142843cc207e9ce1f75b7b3 100755 (executable)
@@ -2,5 +2,5 @@
 
 # $PostgreSQL$
 
-grep  '[^]a-z0-9"/!-]>' *.sgml ref/*.sgml
-grep  '<[^]a-z0-9"/!-]' *.sgml ref/*.sgml
+grep "$@" '[^]a-z0-9"/!-]>' *.sgml ref/*.sgml
+grep "$@" '<[^]a-z0-9"/!-]' *.sgml ref/*.sgml