projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2260c7f
)
doc: Small example improvement
author
Peter Eisentraut
<
[email protected]
>
Tue, 29 Apr 2025 12:40:49 +0000
(14:40 +0200)
committer
Peter Eisentraut
<
[email protected]
>
Tue, 29 Apr 2025 12:43:35 +0000
(14:43 +0200)
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
doc/src/sgml/query.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/query.sgml
b/doc/src/sgml/query.sgml
index 59962d6e8563352e713888146d30168cd2f7d83f..727a0cb185fb251b83efc3166f2e5cbbfe0b1cbe 100644
(file)
--- 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