Re: allow benign typedef redefinitions (C11)

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Peter Geoghegan <pg(at)bowt(dot)ie>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: allow benign typedef redefinitions (C11)
Date: 2025-09-30 14:48:00
Message-ID: 202509301435.ogebmcu5s4zm@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I happened to realize that we still have one small "layering violation"
in executor/tuptable.h which is currently including htup_details.h for
no reason (I suspect it was a simple mistake in commit 5408e233f066),
and this bleeds via execnodes.h to a lot of places. Patch 0002 here
removes that and fixes the affected .c files in the minimal way
required. Patch 0001 is the same as before.

--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/

Attachment Content-Type Size
0001-Remove-brin-gin_tuple.h-from-tuplesort.h.patch text/x-diff 10.3 KB
0002-Don-t-include-access-htup_details.h-in-executor-tupt.patch text/x-diff 15.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2025-09-30 14:50:52 Re: anonymous unions (C11)
Previous Message Ashutosh Bapat 2025-09-30 14:41:08 Re: anonymous unions (C11)