Re: pg_generate_sequence and info_schema patch (Was: SELECT

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: pg_generate_sequence and info_schema patch (Was: SELECT
Дата
Msg-id 40209AD6.7030207@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: pg_generate_sequence and info_schema patch (Was: SELECT Question)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_generate_sequence and info_schema patch (Was: SELECT  (Joe Conway <mail@joeconway.com>)
Список pgsql-patches
> I think you can provide a precise specification without losing
> simplicity of explanation.  Maybe something like
>
>    When step is positive, zero rows are returned if start > stop.
>    Conversely, when step is negative, zero rows are returned if
>    start < stop.  It is an error for step to be zero.

Having something that generates a list of dates would be handy, however
I guess you can do it with the current series generator by adding that
many day intervals to a base date...

Chris


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_generate_sequence and info_schema patch (Was: SELECT Question)
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: win32 signals, part 4