trivial designated initializers - Mailing list pgsql-hackers

From Álvaro Herrera
Subject trivial designated initializers
Date
Msg-id 202601281204.sdxbr5qvpunk@alvherre.pgsql
Whole thread Raw
Responses Re: trivial designated initializers
Re: trivial designated initializers
List pgsql-hackers
Hi

We use C99 designated struct initializers in many places, but for some
reason we don't do it in the tupleLockExtraInfo array in heapam.c nor in
InternalBGWorkers array in bgworker.c.  I've had this trivial patch
rotting in a worktree for a long time.  Any opposition to this change?

Thanks,

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Postgres is bloatware by design: it was built to house
 PhD theses." (Joey Hellerstein, SIGMOD annual conference 2002)

Attachment

pgsql-hackers by date:

Previous
From: shveta malik
Date:
Subject: Re: Proposal: Conflict log history table for Logical Replication
Next
From: Álvaro Herrera
Date:
Subject: Re: [PATCH] Add max_logical_replication_slots GUC