| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | trivial designated initializers |
| Date: | 2026-01-28 12:20:56 |
| Message-ID: | 202601281204.sdxbr5qvpunk@alvherre.pgsql |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 | Content-Type | Size |
|---|---|---|
| 0001-use-C99-named-designators.patch | text/x-diff | 2.8 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Álvaro Herrera | 2026-01-28 12:28:38 | Re: [PATCH] Add max_logical_replication_slots GUC |
| Previous Message | shveta malik | 2026-01-28 12:06:56 | Re: Proposal: Conflict log history table for Logical Replication |