Re: split TOAST support out of postgres.h - Mailing list pgsql-hackers

From Noah Misch
Subject Re: split TOAST support out of postgres.h
Date
Msg-id 20230110073949.GA1926203@rfd.leadboat.com
Whole thread Raw
In response to Re: split TOAST support out of postgres.h  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: split TOAST support out of postgres.h
List pgsql-hackers
On Tue, Jan 10, 2023 at 06:07:49AM +0100, Peter Eisentraut wrote:
> On 30.12.22 17:50, Tom Lane wrote:
> >Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> >>On 28.12.22 16:07, Tom Lane wrote:
> >>>I dunno, #3 seems kind of unprincipled.  Also, since fmgr.h is included
> >>>so widely, I doubt it is buying very much in terms of reducing header
> >>>footprint.  How bad is it to do #2?
> >
> >>See this incremental patch set.
> >
> >Wow, 41 files requiring varatt.h is a lot fewer than I would have guessed.
> >I think that bears out my feeling that fmgr.h wasn't a great location:
> >I count 117 #includes of that, many of which are in .h files themselves
> >so that many more .c files would be required to read them.
> 
> committed

SET_VARSIZE alone appears in 74 pgxn distributions, so I predict extension
breakage en masse.  I would revert this.



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: allowing for control over SET ROLE
Next
From: Michael Paquier
Date:
Subject: Avoiding "wrong tuple length" errors at the end of VACUUM on pg_database update (Backpatch of 947789f to v12 and v13)