From: 文一 <896634148@qq.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: A question about generate_series
Date: Mon, 29 May 2023 09:24:39 +0800
Message-ID: <tencent_1568D62DADC69896431AC591B85D4947BB0A@qq.com> (raw)
Hi team,
when I use the generate_series,as you can see
(Fedora Linux 37, PGSQL 15.3)
postgres=# SELECT x FROM generate_series(1, 25, 1) As x;
x
----
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Time: 0.518 ms
My question is, why postgres didn't print the 22 to 25?
Can someone give some advice?
Thanks in advance!
Yours,
Wen Yi
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: 896634148@qq.com
Subject: Re: A question about generate_series
In-Reply-To: <tencent_1568D62DADC69896431AC591B85D4947BB0A@qq.com>
References: <tencent_1568D62DADC69896431AC591B85D4947BB0A@qq.com>
* 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