mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
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:
parent
22b27b4c9e
commit
9ee56dfeee
@ -361,15 +361,15 @@ mydb=#
|
||||
<indexterm><primary>version</primary></indexterm>
|
||||
<screen>
|
||||
<prompt>mydb=></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=></prompt> <userinput>SELECT current_date;</userinput>
|
||||
date
|
||||
------------
|
||||
2002-08-31
|
||||
2016-01-07
|
||||
(1 row)
|
||||
|
||||
<prompt>mydb=></prompt> <userinput>SELECT 2 + 2;</userinput>
|
||||
|
Loading…
Reference in New Issue
Block a user