Re: [Patch] Windows relation extension failure at 2GB and 4GB

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Bryan Green <dbryan(dot)green(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [Patch] Windows relation extension failure at 2GB and 4GB
Date: 2025-11-07 02:56:07
Message-ID: CA+hUKGKX_t9fnts8yfckaRP5AhqcjXkhcYFoEw+pCrJe5ryz=w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Nov 7, 2025 at 3:13 PM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> There is a cc.sizeof(), which I guess should be enough to report the
> size of off_t, and fail if we try a size larger than 4GB for the
> segment file when a 4-byte off_t is detected.

(It's signed per POSIX and on Windows so I assume you meant to write 2GB here.)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhijie Hou (Fujitsu) 2025-11-07 02:59:59 RE: Assertion failure in SnapBuildInitialSnapshot()
Previous Message jian he 2025-11-07 02:50:09 transformJsonFuncExpr pathspec cache lookup failed