Re: A question about generate_series - Mailing list pgsql-general

From David G. Johnston
Subject Re: A question about generate_series
Date
Msg-id CAKFQuwb+e36PTWvvwUH-zg9xXcuPdLu557HMbGt-2iMm--gySQ@mail.gmail.com
Whole thread Raw
In response to A question about generate_series  ("文一" <896634148@qq.com>)
List pgsql-general
On Sunday, May 28, 2023, 文一 <896634148@qq.com> wrote:
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!

Some kind of visual interaction between psql, the pager, and your terminal?

David J.
 

pgsql-general by date:

Previous
From: "文一"
Date:
Subject: A question about generate_series
Next
From: Tom Lane
Date:
Subject: Re: A question about generate_series