pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: David Rowley <dgrowleyml@gmail.com>
Cc: Yura Sokolov <y.sokolov@postgrespro.ru>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Reducing the chunk header sizes on all memory context types
Date: Tue, 9 Aug 2022 21:36:16 +0200
Message-ID: <20220809193616.5uucf33piwdxn452@alvherre.pgsql> (raw)
In-Reply-To: <20220809184410.g6yzu6pvttuphag5@awork3.anarazel.de>

On 2022-Aug-09, Andres Freund wrote:

> Mildly wondering whether we ought to use designated initializers instead,
> given we're whacking it around already. Too easy to get the order wrong when
> adding new members, and we might want to have optional callbacks too.

Strong +1.  It makes code much easier to navigate (see XmlTableRoutine
and compare with heapam_methods, for example).

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
Subversion to GIT: the shortest path to happiness I've ever heard of
                                                (Alexey Klyukin)





view thread (152+ messages)  latest in thread

Message-ID: <20220809193616.5uucf33piwdxn452@alvherre.pgsql>
Permalink:  ../20220809193616.5uucf33piwdxn452@alvherre.pgsql/
Also on:    postgresql.org/message-id/20220809193616.5uucf33piwdxn452@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@alvh.no-ip.org, andres@anarazel.de, robertmhaas@gmail.com, dgrowleyml@gmail.com, y.sokolov@postgrespro.ru
  Subject: Re: Reducing the chunk header sizes on all memory context types
  In-Reply-To: <20220809193616.5uucf33piwdxn452@alvherre.pgsql>
  References: <20220809184410.g6yzu6pvttuphag5@awork3.anarazel.de> <20220809193616.5uucf33piwdxn452@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox