I created a patch to fix it.
Really appreciate to anyone can help to review it.
Thanks.
From: Hongxu Ma
Sent: Saturday, August 26, 2023 19:19
To: David G. Johnston
Cc: PostgreSQL Hackers
Subject: Re: PSQL error: total cell count of XXX exceeded
Thank you David
Thank you for your advice, Jelte.
I have refactored my code, please see the attached patch. (and I put it into
https://commitfest.postgresql.org/45/ for trace)
Thanks.
From: Jelte Fennema
Sent: Monday, September 11, 2023 15:04
To: Hongxu Ma
Cc: David G
xyz>, could you help to give some
advices here (which type should be used? or should define a new one?). Thank
you very much.
From: Tom Lane
Sent: Tuesday, September 12, 2023 12:19
To: Michael Paquier
Cc: Hongxu Ma ; Jelte Fennema ; David
G. Johnston ; Postgr
After double check, looks `int64` of src/include/c.h is the proper type for it.
Uploaded the v4 patch to fix it.
Thanks.
From: Hongxu Ma
Sent: Wednesday, September 13, 2023 10:22
To: Tom Lane ; Michael Paquier
Cc: PostgreSQL Hackers
Subject: Re: PSQL error
Hi Hackers,
When I tried to select a big amount of rows, psql complains a error "Cannot add
cell to table content: total cell count of 905032704 exceeded."
Here are the reproduce steps:
```
interma=# select version();
version
-
;s better to introduce a limit here. Or using a
bigger integer type (e.g. long) for them, but it's also have the theoretical
upbound.
Thanks.
From: David G. Johnston
Sent: Saturday, August 26, 2023 12:09
To: Hongxu Ma
Cc: PostgreSQL Hackers
Subject: Re: PS