tiny psql doc inconsistency

Started by Fabien COELHOabout 9 years ago2 messages
#1Fabien COELHO
coelho@cri.ensmp.fr
1 attachment(s)

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.

Attachments:

psql-doc-1.patchtext/x-diff; name=psql-doc-1.patchDownload
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
#2Stephen Frost
sfrost@snowman.net
In reply to: Fabien COELHO (#1)
Re: tiny psql doc inconsistency

Fabien,

* Fabien COELHO (coelho@cri.ensmp.fr) wrote:

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.

Fix pushed.

Thanks!

Stephen