ABSTIME = UNINX TIMESTAMP???

Поиск
Список
Период
Сортировка
От Olcsák József
Тема ABSTIME = UNINX TIMESTAMP???
Дата
Msg-id 000e01c18622$ad5f5280$3c14a8c0@ritek.hu
обсуждение исходный текст
Список pgsql-general

Hi!

I have a question:

I use a query,

select extract(epoch from current_timestamp);

date_part

------------

1008500586

This returns the UNIX timestamp ...

and I use an another query:

select current_timestamp::abstime::int4;

?column?

------------

1008500672

PostgreSQL abstime type equal UNIX timestamp ?

 

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

Предыдущее
От: "Rob Hoffman"
Дата:
Сообщение: Re: simple query question
Следующее
От: "Mike Smialek"
Дата:
Сообщение: Re: case sensititvity bug in foreign keys on cygwin