Re: Timestamp with zero precision

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Timestamp with zero precision
Дата
Msg-id 1522.1060698126@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Timestamp with zero precision  ("Vilson farias" <vilson.farias@digitro.com.br>)
Список 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 по дате отправления:

Предыдущее
От: "Roderick A. Anderson"
Дата:
Сообщение: Re: Update of foreign key values
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.4Beta1 "failed to create socket: Address family not