Re: BTMaxItemSize seems to be subtly incorrect - Mailing list pgsql-hackers

From Robert Haas
Subject Re: BTMaxItemSize seems to be subtly incorrect
Date
Msg-id CA+TgmoZg_V=Z-LAp-Ch6zBf1e6FNcyMTZg+yoN82BEepz4iAoQ@mail.gmail.com
Whole thread Raw
In response to Re: BTMaxItemSize seems to be subtly incorrect  (Peter Geoghegan <pg@bowt.ie>)
Responses Re: BTMaxItemSize seems to be subtly incorrect
List pgsql-hackers
On Wed, Jun 8, 2022 at 7:44 PM Peter Geoghegan <pg@bowt.ie> wrote:
> FWIW I don't see much difference between borrowing special space and
> adding something to BTPageOpaqueData. If anything I'd prefer the
> latter.

I think this discussion will take us too far afield from the topic of
this thread, so I'll just say here that wouldn't solve the problem I
was trying to tackle.

> Here's why: BTMaxItemSizeNoHeapTid() is actually what BTMaxItemSize()
> looked like prior to Postgres 12. So the limit on internal pages never
> changed, even in Postgres 12. There was no separate leaf page limit
> prior to 12. Only the rules on the leaf level ever really changed.

Yeah, I noticed that, too.

Are you going to code up a patch?

-- 
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: Replica Identity check of partition table on subscriber
Next
From: Peter Eisentraut
Date:
Subject: Re: broken regress tests on fedora 36