pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Antonin Houska <ah@cybertec.at>
To: Bruce Momjian <bruce@momjian.us>
Cc: tgl@sss.pgh.pa.us
Cc: andres@anarazel.de
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: xl_heap_header alignment?
Date: Sat, 22 Aug 2020 20:48:54 +0200
Message-ID: <81794.1598122134@antos> (raw)
In-Reply-To: <20200822004048.GO13363@momjian.us>
References: <21643.1595353537@antos>
	<5A0F3128-D990-4431-9E97-793CD99FF11E@anarazel.de>
	<1058724.1595356403@sss.pgh.pa.us>
	<22193.1595393913@antos>
	<20200822004048.GO13363@momjian.us>

Bruce Momjian <bruce@momjian.us> wrote:

> On Wed, Jul 22, 2020 at 06:58:33AM +0200, Antonin Houska wrote:
> > Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > 
> > > I don't particularly want to remove the field, but we ought to
> > > change or remove the comment.
> > 
> > I'm not concerned about the existence of the field as well. The comment just
> > made me worried that I might be missing some fundamental concept. Thanks for
> > your opinion.
> 
> I have developed the attached patch to address this.

Thanks. I wasn't sure if I'm expected to send the patch and then I forgot.

If the comment tells that t_hoff can be computed (i.e. it's no necessary to
include it in the structure), I think the comment should tell why it's yet
included. Maybe something about "historical reasons"? Perhaps we can say that
the storage used to be free due to padding, and that it's no longer so, but
it's still "cheap", so it's not worth to teach the REDO functions to compute
the value.

-- 
Antonin Houska
Web: https://www.cybertec-postgresql.com





view thread (11+ messages)  latest in thread

Message-ID: <81794.1598122134@antos>
Permalink:  ../81794.1598122134@antos/
Also on:    postgresql.org/message-id/81794.1598122134@antos

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: ah@cybertec.at, bruce@momjian.us, tgl@sss.pgh.pa.us, andres@anarazel.de, pgsql-hackers@lists.postgresql.org
  Subject: Re: xl_heap_header alignment?
  In-Reply-To: <81794.1598122134@antos>

* 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