Re: [HACKERS] tiny psql doc inconsistency

2016-11-29 Thread Stephen Frost
Fabien,

* Fabien COELHO (coe...@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


signature.asc
Description: Digital signature


[HACKERS] tiny psql doc inconsistency

2016-11-29 Thread Fabien COELHO


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 \crosstabview command:
 
 testdb=> SELECT first, second, first > 2 AS gt2 FROM my_table;
- 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