Re: Avoid a possible overflow (src/backend/utils/sort/logtape.c) - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Avoid a possible overflow (src/backend/utils/sort/logtape.c)
Date
Msg-id ZO551WEGQxA2xuxL@paquier.xyz
Whole thread Raw
In response to Re: Avoid a possible overflow (src/backend/utils/sort/logtape.c)  (Peter Geoghegan <pg@bowt.ie>)
Responses Re: Avoid a possible overflow (src/backend/utils/sort/logtape.c)
List pgsql-hackers
On Thu, Aug 24, 2023 at 07:02:40PM -0700, Peter Geoghegan wrote:
> FWIW I'm pretty sure that it's impossible to run into problems here in
> practice -- the minheap is allocated by palloc(), and the high
> watermark number of free pages is pretty small. Even still, I agree
> with your conclusion. There is really no reason to not be consistent
> here.

Postgres 16 RC1 is now tagged, so applied down to 13.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Jim Jones
Date:
Subject: Re: Allow specifying a dbname in pg_basebackup connection string
Next
From: Peter Smith
Date:
Subject: Fix shadow warnings in logical replication code