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

Commit9d35363

Browse files
Doc: fix prompt in psql crosstabview example
The prompt in the crosstabview example was incorrectly indicatingan open parenthesis where there is none in the example query. Fixby changing to the normal multi-line prompt.Reported-by: y.saburov@gmail.comDiscussion:https://postgr.es/m/171369707837.684.8207966689229976474@wrigleys.postgresql.org
1 parentb53d580 commit9d35363

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/src/sgml/ref/psql-ref.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5309,9 +5309,9 @@ This second example shows a multiplication table with rows sorted in reverse
53095309
numerical order and columns with an independent, ascending numerical order.
53105310
<programlisting>
53115311
testdb=&gt; <userinput>SELECT t1.first as "A", t2.first+100 AS "B", t1.first*(t2.first+100) as "AxB",</userinput>
5312-
testdb(&gt; <userinput>row_number() over(order by t2.first) AS ord</userinput>
5313-
testdb(&gt; <userinput>FROM my_table t1 CROSS JOIN my_table t2 ORDER BY 1 DESC</userinput>
5314-
testdb(&gt; <userinput>\crosstabview "A" "B" "AxB" ord</userinput>
5312+
testdb-&gt; <userinput>row_number() over(order by t2.first) AS ord</userinput>
5313+
testdb-&gt; <userinput>FROM my_table t1 CROSS JOIN my_table t2 ORDER BY 1 DESC</userinput>
5314+
testdb-&gt; <userinput>\crosstabview "A" "B" "AxB" ord</userinput>
53155315
A | 101 | 102 | 103 | 104
53165316
---+-----+-----+-----+-----
53175317
4 | 404 | 408 | 412 | 416

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp