mirror of
https://github.com/postgres/postgres.git
synced 2025-05-06 19:59:18 +03:00
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
This commit is contained in:
parent
d43ff47eab
commit
40eb468a1b
@ -4170,7 +4170,7 @@ second | four
|
|||||||
with the <command>\crosstabview</command> command:
|
with the <command>\crosstabview</command> command:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
testdb=> <userinput>SELECT first, second, first > 2 AS gt2 FROM my_table;</userinput>
|
testdb=> <userinput>SELECT first, second, first > 2 AS gt2 FROM my_table;</userinput>
|
||||||
first | second | ge2
|
first | second | gt2
|
||||||
-------+--------+-----
|
-------+--------+-----
|
||||||
1 | one | f
|
1 | one | f
|
||||||
2 | two | f
|
2 | two | f
|
||||||
|
Loading…
x
Reference in New Issue
Block a user