Re: anonymous unions (C11)

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
Cc: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: anonymous unions (C11)
Date: 2025-09-30 11:44:00
Message-ID: 202509301141.4wu7rvxai54d@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2025-Sep-30, Ashutosh Bapat wrote:

> Attached patch fixes those errors for me.

> diff --git a/src/common/cryptohash.c b/src/common/cryptohash.c
> index fc0555d2f99..e8a35c2ec35 100644
> --- a/src/common/cryptohash.c
> +++ b/src/common/cryptohash.c
> @@ -61,7 +61,7 @@ struct pg_cryptohash_ctx
> pg_sha256_ctx sha256;
> pg_sha384_ctx sha384;
> pg_sha512_ctx sha512;
> - } data;
> + };
> };

Isn't this patch 0015 in Peter's series?

--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"Saca el libro que tu religión considere como el indicado para encontrar la
oración que traiga paz a tu alma. Luego rebootea el computador
y ve si funciona" (Carlos Duclós)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin K Biju 2025-09-30 11:51:05 Replace O_EXCL with O_TRUNC for creation of state.tmp in SaveSlotToPath
Previous Message Dilip Kumar 2025-09-30 11:40:33 Re: pgstattuple "unexpected zero page" for gist and hash indexes