Hello,

While reading the documentation, I noticed an tiny inconsistency at the end of:

        https://www.postgresql.org/docs/devel/static/app-psql.html

 testdb=> SELECT first, second, first > 2 AS gt2 FROM my_table;
  first | second | ge2
 -------+--------+-----
      1 | one    | f
      2 | two    | f
      3 | three  | t
      4 | four   | t
 (4 rows)

The third column name is not consistent with the query, both in 9.6 and devel documentations.

Attached is a small patch to fix this.

--
Fabien.
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 2410bee..261652a 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
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to