Re: PSQL error: total cell count of XXX exceeded

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Hongxu Ma <interma(at)outlook(dot)com>
Cc: Jelte Fennema <postgres(at)jeltef(dot)nl>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PSQL error: total cell count of XXX exceeded
Date: 2023-09-12 03:55:44
Message-ID: ZP/hQMzOkzqaCpGe@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 12, 2023 at 02:39:55AM +0000, Hongxu Ma wrote:
> 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)

{
+ long total_cells;

long is 4 bytes on Windows, and 8 bytes basically elsewhere. So you
would still have the same problem on Windows, no?
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2023-09-12 03:57:16 Re: [PoC] pg_upgrade: allow to upgrade publisher node
Previous Message Michael Paquier 2023-09-12 03:43:54 Re: Add 'worker_type' to pg_stat_subscription