Re: [GENERAL] Timestamp

Поиск
Список
Период
Сортировка
От Gregory Maxwell
Тема Re: [GENERAL] Timestamp
Дата
Msg-id Pine.LNX.3.96.990318222122.14241A-100000@z.ml.org
обсуждение исходный текст
Ответ на Timestamp  (Postgres Sql - CTI <pgsqlcti@vetnet2.vetorialnet.com.br>)
Список pgsql-general
Something like ('now'::datetime + '10 min'::timespan) might work..

On Wed, 17 Mar 1999, Postgres Sql - CTI wrote:

>
>     Hi all,
>
>     I'd like know how can I change a timestamp field's value starting
> from the "current_timestamp" value. My objective is to calculate a time
> interval.
>
>     I was trying to do something like this:
>
> - insert into logs values ('login', 'session', current_timestamp);
>
>     But, I don't want to include the <current> date and time. Before
> including data into the table, I'd like to plus 10 minutes in
> current_timestamp.
>
>     Thanks for any help.
>
> Luiz
>
>


В списке pgsql-general по дате отправления:

Предыдущее
От: "Peter L. Berghold"
Дата:
Сообщение: Re: how to start postmaster at system boot on linux?
Следующее
От: Peter Blazso
Дата:
Сообщение: subscribe pgsql-general