CURRENT_TIMSTAMP

From: Raymond Chui <raymond(dot)chui(at)noaa(dot)gov>
To: pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: CURRENT_TIMSTAMP
Date: 2002-12-02 16:41:33
Message-ID: 3DEB8D3D.5353D375@noaa.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-sql

I created a column, dada type timstamp with time zone
and with default CURRENT_TIMSTAMP
it shows me the default is

default ('now'::text)::timstamp(6) with time zone

Then when I insert a row, the default timestamp value is

yyyy-mm-dd HH:MM:ss.mmmmm+00

where mmmmm is milliseconds.
How do I make default only yyyy-mm-dd HH:MM:ss+00 ?
Thank Q!

Attachment Content-Type Size
raymond.chui.vcf text/x-vcard 312 bytes

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2002-12-02 18:13:00 Re: How to setup a cluster of postgresql databases?
Previous Message Oliver Elphick 2002-12-02 16:41:01 Re: pg_restore error: function plpgsql_call_handler

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2002-12-02 16:56:41 Re: [GENERAL] One SQL to access two databases.
Previous Message Stephan Szabo 2002-12-02 16:11:33 Re: The old "not using index" question

Browse pgsql-sql by date

  From Date Subject
Next Message Joel Burton 2002-12-02 18:38:27 Re: [SQL] CURRENT_TIMSTAMP
Previous Message Christian Gausepohl 2002-12-02 16:39:03 Analyzing the 7.3 SQL92 Schema