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

Chao Li <li.evan.chao@gmail.com>

From: Chao Li <li.evan.chao@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-02-10T08:13:34Z
Lists: pgsql-hackers

> On Feb 10, 2026, at 13:12, Michael Paquier <michael@paquier.xyz> wrote:
> 
> On Tue, Jan 20, 2026 at 04:41:49PM +0900, Michael Paquier wrote:
>> This cleanup leads to the attached, with the CI not complaining.  That 
>> will also help me a bit for the other patch sets I have been playing
>> with related to TOAST.
>> 
>> Thoughts or comments?
> 
> This patch has been sitting on my desk for a couple of weeks now, and
> I am playing with varatt.h.  Any objections in getting rid of these
> struct markers at the end as of the patch posted upthread?
> --
> Michael


This patch is a pure typedef substitution. I don’t see any functional or correctness problems introduced by it. I built it locally and ran “make check”, everything passed.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/







Commits

  1. Improve type handling of varlena structures