postgres.git / summary / log / commit / refs
commit 489a51af12de58e336c7b97e793aed6d11bb13b5
Author: Stephen Frost <sfrost@snowman.net>
Date: Tue Nov 29 14:03:11 2016 +0000
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
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 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=> <userinput>SELECT first, second, first > 2 AS gt2 FROM my_table;</userinput>
- first | second | ge2
+ first | second | gt2
-------+--------+-----
1 | one | f
2 | two | f
[parent: 4e20511d5b8b]