Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit913c60b

Browse files
committed
doc: Small example improvement
Add a comment character before a line annotation, so that the querycan be used as presented.Reported-by: Yaroslav Saburov <y.saburov@gmail.com>Author: Euler Taveira <euler@eulerto.com>Reviewed-by: Robert Treat <rob@xzilla.net>Discussion:https://www.postgresql.org/message-id/flat/174393459040.678.17810152410419444783%40wrigleys.postgresql.org
1 parent2260c7f commit913c60b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎doc/src/sgml/query.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ SELECT max(temp_lo) FROM weather;
671671
we might try:
672672

673673
<programlisting>
674-
SELECT city FROM weather WHERE temp_lo = max(temp_lo); <lineannotation>WRONG</lineannotation>
674+
SELECT city FROM weather WHERE temp_lo = max(temp_lo); <lineannotation>--WRONG</lineannotation>
675675
</programlisting>
676676

677677
but this will not work since the aggregate

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp