postgres.git / summary / log / commit / refs
commit daa9856fcea775caeb4c92580b9693858509b43b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Fri May 06 14:39:35 2016 +0000
First released in: 9.6.0
Docs: fix \crosstabview example.
This example missed being updated when we redefined \crosstabview's
argument processing.
Daniel Vérité
doc/src/sgml/ref/psql-ref.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 41606658825..df79a3733fa 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -4173,7 +4173,7 @@ numerical order and columns with an independant, ascending numerical order.
testdb=> <userinput>SELECT t1.first as "A", t2.first+100 AS "B", t1.first*(t2.first+100) as "AxB",</userinput>
testdb(> <userinput>row_number() over(order by t2.first) AS ord</userinput>
testdb(> <userinput>FROM my_table t1 CROSS JOIN my_table t2 ORDER BY 1 DESC</userinput>
-testdb(> <userinput>\crosstabview A B:ord AxB</userinput>
+testdb(> <userinput>\crosstabview "A" "B" "AxB" ord</userinput>
A | 101 | 102 | 103 | 104
---+-----+-----+-----+-----
4 | 404 | 408 | 412 | 416
[parent: 2cc41acd8fa3]