diff options
author | Peter Eisentraut | 2025-04-29 12:40:49 +0000 |
---|---|---|
committer | Peter Eisentraut | 2025-04-29 12:43:35 +0000 |
commit | 913c60b067aa1a618420fd0372c4df3cf5501863 (patch) | |
tree | 5dcc8d54fa71f65b106912bbac369113625bd4d8 | |
parent | 2260c7f6d90ecf76d3806d32890a0890688b41e8 (diff) |
doc: Small example improvement
Add a comment character before a line annotation, so that the query
can be used as presented.
Reported-by: Yaroslav Saburov <[email protected]>
Author: Euler Taveira <[email protected]>
Reviewed-by: Robert Treat <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/174393459040.678.17810152410419444783%40wrigleys.postgresql.org
-rw-r--r-- | doc/src/sgml/query.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/query.sgml b/doc/src/sgml/query.sgml index 59962d6e856..727a0cb185f 100644 --- a/doc/src/sgml/query.sgml +++ b/doc/src/sgml/query.sgml @@ -671,7 +671,7 @@ SELECT max(temp_lo) FROM weather; we might try: <programlisting> -SELECT city FROM weather WHERE temp_lo = max(temp_lo); <lineannotation>WRONG</lineannotation> +SELECT city FROM weather WHERE temp_lo = max(temp_lo); <lineannotation>-- WRONG</lineannotation> </programlisting> but this will not work since the aggregate |