Re: creating sequential timestamp

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: creating sequential timestamp
Дата
Msg-id Pine.LNX.4.33.0403081439530.2899-100000@css120.ihs.com
обсуждение исходный текст
Ответ на creating sequential timestamp  (javier garcia - CEBAS <rn001@cebas.csic.es>)
Список pgsql-general
On Mon, 8 Mar 2004, javier garcia - CEBAS wrote:

> Hi;
> Is it possible to directly create postgres tables with a timestamp column
> with some specific interval and within a specific range.
> For example every 5 minutes and between the beginning of 1999 and the end of
> 2003?
>
> I just need this column.

Sounds like you might want to rethink your data structure.  I would
suggest using a table with these dates in it as a kind of cross tab table.
Or look in the /contrib/tablefunc directory for a crosstab function that
may make what you're trying to do easy.


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: creating sequential timestamp
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Optimizer produces wildly different row count estimate depending on casts