Commit 9ee56dfe authored by Peter Eisentraut's avatar Peter Eisentraut

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
parent 22b27b4c
...@@ -361,15 +361,15 @@ mydb=# ...@@ -361,15 +361,15 @@ mydb=#
<indexterm><primary>version</primary></indexterm> <indexterm><primary>version</primary></indexterm>
<screen> <screen>
<prompt>mydb=&gt;</prompt> <userinput>SELECT version();</userinput> <prompt>mydb=&gt;</prompt> <userinput>SELECT version();</userinput>
version version
----------------------------------------------------------------------- ------------------------------------------------------------------------------------------
PostgreSQL &version; on i586-pc-linux-gnu, compiled by GCC 2.96, 32-bit PostgreSQL &version; on x86_64-pc-linux-gnu, compiled by gcc (Debian 4.9.2-10) 4.9.2, 64-bit
(1 row) (1 row)
<prompt>mydb=&gt;</prompt> <userinput>SELECT current_date;</userinput> <prompt>mydb=&gt;</prompt> <userinput>SELECT current_date;</userinput>
date date
------------ ------------
2002-08-31 2016-01-07
(1 row) (1 row)
<prompt>mydb=&gt;</prompt> <userinput>SELECT 2 + 2;</userinput> <prompt>mydb=&gt;</prompt> <userinput>SELECT 2 + 2;</userinput>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment