Docs: fix \crosstabview example.
authorTom Lane
Fri, 6 May 2016 14:39:35 +0000 (10:39 -0400)
committerTom Lane
Fri, 6 May 2016 14:39:35 +0000 (10:39 -0400)
This example missed being updated when we redefined \crosstabview's
argument processing.

Daniel Vérité

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

index 41606658825da1843dd2fd8101b31b7108c82d0f..df79a3733fa44b9ec7cbf5530c159f33f1cf0583 100644 (file)
@@ -4173,7 +4173,7 @@ numerical order and columns with an independant, ascending numerical order.
 testdb=> SELECT t1.first as "A", t2.first+100 AS "B", t1.first*(t2.first+100) as "AxB",
 testdb(> row_number() over(order by t2.first) AS ord
 testdb(> FROM my_table t1 CROSS JOIN my_table t2 ORDER BY 1 DESC
-testdb(> \crosstabview A B:ord AxB
+testdb(> \crosstabview "A" "B" "AxB" ord
  A | 101 | 102 | 103 | 104 
 ---+-----+-----+-----+-----
  4 | 404 | 408 | 412 | 416