Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Frost2016-11-29 14:03:11 +0000
committerStephen Frost2016-11-29 14:03:11 +0000
commit489a51af12de58e336c7b97e793aed6d11bb13b5 (patch)
tree095e67dd6b9456334316292c9df75f4c2c95c3de
parent4e20511d5b8ba427730e09be45f9458f667f9c1e (diff)
Correct psql documentation example
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
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 2410bee4eb8..261652a45f2 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -4172,7 +4172,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 | ge2
+ first | second | gt2
-------+--------+-----
1 | one | f
2 | two | f