From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: postgresql@taljaren.se
Subject: One more example of generating time series
Date: Tue, 10 Nov 2020 23:05:52 +0000
Message-ID: <160504955209.25505.11628601059886349351@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/13/functions-srf.html
Description:
I find this kind of query very useful:
If you don't know the end date, but you know how many time steps to add, you
can use a query like this
select now()+ '1 day'::interval *generate_series(1,5);
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, postgresql@taljaren.se
Subject: Re: One more example of generating time series
In-Reply-To: <160504955209.25505.11628601059886349351@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox