Re: Remove "struct" markers from varlena, varatt_external and varatt_indirect

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-02-10T22:36:16Z
Lists: pgsql-hackers
On Tue, Feb 10, 2026 at 10:29:05AM -0500, Tom Lane wrote:
> -typedef struct varlena
> +typedef struct
> 
> It still compiles, proving that you found all the usages.
> (I am *not* suggesting that you do that in the committed patch;
> it'd break extensions to little purpose.)

I didn't consider doing that to cross-check the change.  That's a good
one.

Applied that now, thanks all for the reviews.
--
Michael

Commits

  1. Improve type handling of varlena structures