Re: merge timestamps to intervals

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: merge timestamps to intervals
Дата
Msg-id 4827E49F.3070508@postnewspapers.com.au
обсуждение исходный текст
Ответ на merge timestamps to intervals  (Patrick Scharrenberg <pittipatti@web.de>)
Список pgsql-sql
Patrick Scharrenberg wrote:

> I'd like to merge this information to intervals where the service was up
> or down.
> 
>     < intervall, status >
>     10:13-10:15    up
>     10:16-10:16    down
>     10:17-1018    up
> 
> I've no clue how to approach this problem.

About 12 hours ago there was a conversation in pgsql-sql with subject
"Difference in columns" that included examples that can be trivially
adapted to your problem.

--
Craig Ringer


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

Предыдущее
От: Patrick Scharrenberg
Дата:
Сообщение: merge timestamps to intervals
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: merge timestamps to intervals