Re: Feature request: Improve allowed values for generate series - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: Feature request: Improve allowed values for generate series
Date
Msg-id CAKFQuwYEkaLC4UoFKguj6E1SZ-YEGHzsGGyrrxfkDg51SuQwzQ@mail.gmail.com
Whole thread Raw
In response to Re: Feature request: Improve allowed values for generate series  (Eugen Konkov <kes-kes@yandex.ru>)
List pgsql-hackers
On Wed, Nov 11, 2020 at 12:12 PM Eugen Konkov <kes-kes@yandex.ru> wrote:

> So   I   feature  request  to  allow  zero size step for cases when start point is equest to finish

> What do you think?



hm....  probably  with  step 0 we always should generate series of one
value and exit, despite on finish value.
Because  with  step  0 we always stay at current position, so there is
always should be just one value.


How is this better than writing "VALUES (start date)"?

David J.

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Feature request: Improve allowed values for generate series
Next
From: Sergei Kornilov
Date:
Subject: Re: Allow some recovery parameters to be changed with reload