A question about generate_series

Поиск
Список
Период
Сортировка
От 文一
Тема A question about generate_series
Дата
Msg-id tencent_1568D62DADC69896431AC591B85D4947BB0A@qq.com
обсуждение исходный текст
Ответы Re: A question about generate_series
Re: A question about generate_series
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: explicit-locking.html "key values" reference
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: A question about generate_series