Re: Problem with timestamp - Pls help - Mailing list pgsql-sql

From Tom Lane
Subject Re: Problem with timestamp - Pls help
Date
Msg-id 21870.1063988846@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problem with timestamp - Pls help  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
List pgsql-sql
Stephan Szabo <sszabo@megazone.bigpanda.com> writes:
> I think select CAST(CURRENT_TIMESTAMP(0) AS timestamp without time zone)
> may get you what you want without having to rely on the text format.

If you don't want the time zone, there's also LOCALTIMESTAMP(n).  See
http://www.postgresql.org/docs/7.3/static/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT
        regards, tom lane


pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Problem with timestamp - Pls help
Next
From: ow
Date:
Subject: psql output and password Qs