Re: Procedure for feature requests?
| От | Tim Landscheidt |
|---|---|
| Тема | Re: Procedure for feature requests? |
| Дата | |
| Msg-id | m3ws3d8o2p.fsf@passepartout.tim-landscheidt.de обсуждение исходный текст |
| Ответ на | Procedure for feature requests? (Tim Landscheidt <tim@tim-landscheidt.de>) |
| Ответы |
Re: Procedure for feature requests?
|
| Список | pgsql-general |
Sam Mason <sam@samason.me.uk> wrote: >> suppose I thought that PostgreSQL would benefit greatly from >> a "generate_series(DATE, DATE[, INT]) RETURNS DATE" function > 8.4 has a generate_series(timestamp,timestamp,interval) which would seem > to be a bit more flexible than you want. Yes, I know :-). But as "generate_series(A, B, C)" can also be written as "A + generate_series(0, (C - B) / C) * C" (or something "flexible" like that :-)), a "generate_series(DATE, DATE)" would inter alia get rid off the need to cast the result from TIMESTAMP to DATE and to explicitly specify "'1 day'". Just a small, trivial enhance- ment for a popular use case :-). Tim
В списке pgsql-general по дате отправления: