summaryrefslogtreecommitdiff
path: root/doc/src/sgml/rules.sgml
diff options
context:
space:
mode:
authorPeter Eisentraut2017-09-06 15:22:43 +0000
committerPeter Eisentraut2017-09-06 15:22:43 +0000
commit1c53f612bc8c9dbf97aa5a29910654a66dcdd307 (patch)
treece289fe538c57cad274dc63eace9133cec3c2ce5 /doc/src/sgml/rules.sgml
parent8689e38263af7755b8100203e325a5953ed1e602 (diff)
Escape < and & in SGML
This is not required in SGML, but will be in XML, so this is a step to prepare for the conversion to XML. (It is still not required to escape >, but we did it here in some cases for symmetry.) Add a command-line option to osx/onsgmls calls to warn about unescaped occurrences in the future. Author: Alexander Law <[email protected]> Author: Peter Eisentraut <[email protected]>
Diffstat (limited to 'doc/src/sgml/rules.sgml')
-rw-r--r--doc/src/sgml/rules.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/rules.sgml b/doc/src/sgml/rules.sgml
index bcbc1703355..61423c25efd 100644
--- a/doc/src/sgml/rules.sgml
+++ b/doc/src/sgml/rules.sgml
@@ -970,7 +970,7 @@ CREATE MATERIALIZED VIEW sales_summary AS
invoice_date,
sum(invoice_amt)::numeric(13,2) as sales_amt
FROM invoice
- WHERE invoice_date < CURRENT_DATE
+ WHERE invoice_date &lt; CURRENT_DATE
GROUP BY
seller_no,
invoice_date
@@ -1058,7 +1058,7 @@ SELECT count(*) FROM words WHERE word = 'caterpiler';
have wanted. Again using <literal>file_fdw</literal>:
<programlisting>
-SELECT word FROM words ORDER BY word <-> 'caterpiler' LIMIT 10;
+SELECT word FROM words ORDER BY word &lt;-&gt; 'caterpiler' LIMIT 10;
word
---------------