Re: Timestamp with zero precision - Mailing list pgsql-general

From Tom Lane
Subject Re: Timestamp with zero precision
Date
Msg-id 1522.1060698126@sss.pgh.pa.us
Whole thread Raw
In response to Timestamp with zero precision  ("Vilson farias" <vilson.farias@digitro.com.br>)
List pgsql-general
"Vilson farias" <vilson.farias@digitro.com.br> writes:
>   Is there a way to set a "timestamp compatibility mode" for PostgreSQL
> 7.3.3's timestamp with older versions of database (like 7.1.2)? I'd like to
> set all timestamps to have precision =3D zero (hh:mm:ss only, without any
> millisecond).

Create the timestamp columns as
    timestamp(0) with time zone

            regards, tom lane

pgsql-general by date:

Previous
From: "Roderick A. Anderson"
Date:
Subject: Re: Update of foreign key values
Next
From: Bruce Momjian
Date:
Subject: Re: 7.4Beta1 "failed to create socket: Address family not