Remove use of '<' and '>' in SGML, use '&' escapes.
authorBruce Momjian
Mon, 16 Oct 2006 17:28:03 +0000 (17:28 +0000)
committerBruce Momjian
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 a71705a37c57ad12d24910c85f0eb40f85b8803b..f974438988326b1ab412b2c9c7751afde95ad719 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Data Definition
@@ -2342,7 +2342,7 @@ VALUES ('New York', NULL, NULL, 'NY');
 
 CHECK ( x = 1 )
 CHECK ( county IN ( 'Oxfordshire', 'Buckinghamshire', 'Warwickshire' ))
-CHECK ( outletID >= 100 AND outletID < 200 )
+CHECK ( outletID >= 100 AND outletID < 200 )
 
         Ensure that the constraints guarantee that there is no overlap
         between the key values permitted in different partitions.  A common
index 135ef85d5bce0b05bb15beeb7707ab1db7fe966f..4a118ebd67f515e005f1f71728f87de08931a1ad 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  PL/Python - Python Procedural Language
@@ -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 > b:
     return a
   return b
 $$ LANGUAGE plpythonu;
index c9fc8d89b1e8afa791453e0f66885577ad4e107b..524be85f97858d5c86934e189ffb7b9f0ffe0274 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -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       @>,
+        OPERATOR        8       <@,
         OPERATOR        20      @@ (_int4, query_int),
         FUNCTION        1       g_int_consistent (internal, _int4, int4),
         FUNCTION        2       g_int_union (bytea, internal),
index 3dca3a6bfdc06119c535797449e0a172a034e94a..72bcad47eaf3c918832453e160439a7af36c6ecc 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $PostgreSQL: pgsql/src/tools/find_gt_lt,v 1.2 2006/03/11 04:38:41 momjian Exp $
+# $PostgreSQL: pgsql/src/tools/find_gt_lt,v 1.3 2006/10/16 17:28:03 momjian Exp $
 
-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