Re: PSQL error: total cell count of XXX exceeded

Поиск
Список
Период
Сортировка
От Hongxu Ma
Тема Re: PSQL error: total cell count of XXX exceeded
Дата
Msg-id TYBP286MB03515815935D9F6FA90C5921B4F1A@TYBP286MB0351.JPNP286.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответ на Re: PSQL error: total cell count of XXX exceeded  (Jelte Fennema <postgres@jeltef.nl>)
Ответы Re: PSQL error: total cell count of XXX exceeded  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
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 <postgres@jeltef.nl>
Sent: Monday, September 11, 2023 15:04
To: Hongxu Ma <interma@outlook.com>
Cc: David G. Johnston <david.g.johnston@gmail.com>; PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: PSQL error: total cell count of XXX exceeded
 
On Mon, 11 Sept 2023 at 08:51, Hongxu Ma <interma@outlook.com> wrote:
>
> I created a patch to fix it.
> Really appreciate to anyone can help to review it.
> Thanks.

I think "product" as a variable name isn't very descriptive. Let's
call it total_cells (or something similar instead).

Other than that I think it's a good change. content->cellsadded is
also a long, So I agree that I don't think the limit of int cells was
intended here.
Вложения

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

Предыдущее
От: "Zhijie Hou (Fujitsu)"
Дата:
Сообщение: RE: [PoC] pg_upgrade: allow to upgrade publisher node
Следующее
От: Peter Smith
Дата:
Сообщение: Re: Add 'worker_type' to pg_stat_subscription