]> granicus.if.org Git - postgresql/commitdiff
Correct psql documentation example
authorStephen Frost <sfrost@snowman.net>
Tue, 29 Nov 2016 14:03:17 +0000 (09:03 -0500)
committerStephen Frost <sfrost@snowman.net>
Tue, 29 Nov 2016 14:03:17 +0000 (09:03 -0500)
An example in the psql documentation had an incorrect field name from
what the command actually produced.

Pointed out by Fabien COELHO

Back-patch to 9.6 where the example was added.

Discussion: https://postgr.es/m/alpine.DEB.2.20.1611291349400.19314@lancre

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

index 8a66ce79833e52bd9c1a1b03bbd7459b99bb4870..168a295013f3530a7126628fa4d8ca08257b68d1 100644 (file)
@@ -4170,7 +4170,7 @@ second | four
   with the <command>\crosstabview</command> command:
 <programlisting>
 testdb=&gt; <userinput>SELECT first, second, first &gt; 2 AS gt2 FROM my_table;</userinput>
- first | second | ge
+ first | second | gt
 -------+--------+-----
      1 | one    | f
      2 | two    | f