mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Updated user's guide to match new psql's output format
Fixed bug in createdb/alternative location
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/set.sgml,v 1.32 2000/03/17 05:29:03 tgl Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/set.sgml,v 1.33 2000/03/26 18:32:27 petere Exp $
|
||||
Postgres documentation
|
||||
-->
|
||||
|
||||
@@ -905,25 +905,25 @@ SET GEQO = DEFAULT;
|
||||
|
||||
Set the timezone for Berkeley, California:
|
||||
|
||||
<programlisting>
|
||||
<programlisting>
|
||||
SET TIME ZONE 'PST8PDT';
|
||||
SELECT CURRENT_TIMESTAMP AS today;
|
||||
|
||||
today
|
||||
----------------------
|
||||
1998-03-31 07:41:21-08
|
||||
</programlisting>
|
||||
today
|
||||
------------------------
|
||||
1998-03-31 07:41:21-08
|
||||
</programlisting>
|
||||
|
||||
Set the timezone for Italy:
|
||||
Set the timezone for Italy:
|
||||
|
||||
<programlisting>
|
||||
<programlisting>
|
||||
SET TIME ZONE 'Europe/Rome';
|
||||
SELECT CURRENT_TIMESTAMP AS today;
|
||||
|
||||
today
|
||||
----------------------
|
||||
1998-03-31 17:41:31+02
|
||||
</programlisting>
|
||||
today
|
||||
------------------------
|
||||
1998-03-31 17:41:31+02
|
||||
</programlisting>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user