doc: Update version() and current_date output in tutorial

While the version number is automatically updated in the example output,
the other details looked a bit dated.

suggested by mike2.schneider@gmail.com
This commit is contained in:
Peter Eisentraut 2016-05-31 16:45:02 -04:00
parent 22b27b4c9e
commit 9ee56dfeee
1 changed files with 4 additions and 4 deletions

View File

@ -361,15 +361,15 @@ mydb=#
<indexterm><primary>version</primary></indexterm>
<screen>
<prompt>mydb=&gt;</prompt> <userinput>SELECT version();</userinput>
version
-----------------------------------------------------------------------
PostgreSQL &version; on i586-pc-linux-gnu, compiled by GCC 2.96, 32-bit
version
------------------------------------------------------------------------------------------
PostgreSQL &version; on x86_64-pc-linux-gnu, compiled by gcc (Debian 4.9.2-10) 4.9.2, 64-bit
(1 row)
<prompt>mydb=&gt;</prompt> <userinput>SELECT current_date;</userinput>
date
------------
2002-08-31
2016-01-07
(1 row)
<prompt>mydb=&gt;</prompt> <userinput>SELECT 2 + 2;</userinput>