Re: Postgres DateStyle

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: "Ing(dot) Roberto Andrade Fonseca" <randrade(at)abl(dot)com(dot)mx>, pgsql-general(at)postgreSQL(dot)org
Subject: Re: Postgres DateStyle
Date: 2000-07-14 14:14:02
Message-ID: 396F202A.99F766CD@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

(My mailer was fouled up; I had sent this a few days ago...)

> > The documentation of Postgresql 7.0.2 says that the statement:
> > SET DATESTYLE TO 'Postgres';
> > would led to an output of the form:
> > Wed Dec 17 07:37:16 1997 PST
> > but I can't reproduce this behavior!!!
>
> lockhart=# select timestamp 'now';
> ?column?
> ---------------------------
> 2000-07-11 15:48:24.00+00
> (1 row)
>
> lockhart=# set datestyle to 'Postgres';
> SET VARIABLE
> lockhart=# select timestamp 'now';
> ?column?
> ---------------------------------
> Tue Jul 11 15:48:35.00 2000 UTC
> (1 row)
>
> Please show a transcript of your session if you need some more
> suggestions.
>
> - Thomas

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Lockhart 2000-07-14 14:25:16 Re: performance question
Previous Message ernie cline 2000-07-14 14:06:30 Re: performance question