Remove use of '<' and '>' in SGML, use '&' escapes.
Update find_gt_lt to allow grep parameters to be passed into it.
This commit is contained in:
parent
6ab23dabf5
commit
389fad1e6b
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.64 2006/10/13 21:43:17 tgl Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.65 2006/10/16 17:28:03 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter id="ddl">
|
<chapter id="ddl">
|
||||||
<title>Data Definition</title>
|
<title>Data Definition</title>
|
||||||
@ -2342,7 +2342,7 @@ VALUES ('New York', NULL, NULL, 'NY');
|
|||||||
<programlisting>
|
<programlisting>
|
||||||
CHECK ( x = 1 )
|
CHECK ( x = 1 )
|
||||||
CHECK ( county IN ( 'Oxfordshire', 'Buckinghamshire', 'Warwickshire' ))
|
CHECK ( county IN ( 'Oxfordshire', 'Buckinghamshire', 'Warwickshire' ))
|
||||||
CHECK ( outletID >= 100 AND outletID < 200 )
|
CHECK ( outletID >= 100 AND outletID < 200 )
|
||||||
</programlisting>
|
</programlisting>
|
||||||
Ensure that the constraints guarantee that there is no overlap
|
Ensure that the constraints guarantee that there is no overlap
|
||||||
between the key values permitted in different partitions. A common
|
between the key values permitted in different partitions. A common
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.33 2006/09/03 22:23:58 tgl Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.34 2006/10/16 17:28:03 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter id="plpython">
|
<chapter id="plpython">
|
||||||
<title>PL/Python - Python Procedural Language</title>
|
<title>PL/Python - Python Procedural Language</title>
|
||||||
@ -123,7 +123,7 @@ CREATE FUNCTION pymax (a integer, b integer)
|
|||||||
AS $$
|
AS $$
|
||||||
if (a is None) or (b is None):
|
if (a is None) or (b is None):
|
||||||
return None
|
return None
|
||||||
if a > b:
|
if a > b:
|
||||||
return a
|
return a
|
||||||
return b
|
return b
|
||||||
$$ LANGUAGE plpythonu;
|
$$ LANGUAGE plpythonu;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/ref/create_opclass.sgml,v 1.17 2006/09/16 00:30:17 momjian Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/ref/create_opclass.sgml,v 1.18 2006/10/16 17:28:03 momjian Exp $
|
||||||
PostgreSQL documentation
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -238,8 +238,8 @@ CREATE OPERATOR CLASS gist__int_ops
|
|||||||
DEFAULT FOR TYPE _int4 USING gist AS
|
DEFAULT FOR TYPE _int4 USING gist AS
|
||||||
OPERATOR 3 &&,
|
OPERATOR 3 &&,
|
||||||
OPERATOR 6 = RECHECK,
|
OPERATOR 6 = RECHECK,
|
||||||
OPERATOR 7 @>,
|
OPERATOR 7 @>,
|
||||||
OPERATOR 8 <@,
|
OPERATOR 8 <@,
|
||||||
OPERATOR 20 @@ (_int4, query_int),
|
OPERATOR 20 @@ (_int4, query_int),
|
||||||
FUNCTION 1 g_int_consistent (internal, _int4, int4),
|
FUNCTION 1 g_int_consistent (internal, _int4, int4),
|
||||||
FUNCTION 2 g_int_union (bytea, internal),
|
FUNCTION 2 g_int_union (bytea, internal),
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/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
|
||||||
|
Loading…
Reference in New Issue
Block a user