Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9YXo-0001n2-CJ for pgsql-hackers@arkaria.postgresql.org; Sat, 22 Aug 2020 18:47:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k9YXn-00020L-5G for pgsql-hackers@arkaria.postgresql.org; Sat, 22 Aug 2020 18:47:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9YXm-00020E-Qk for pgsql-hackers@lists.postgresql.org; Sat, 22 Aug 2020 18:47:10 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k9YXj-0005kg-OL for pgsql-hackers@lists.postgresql.org; Sat, 22 Aug 2020 18:47:10 +0000 Received: by mail-ej1-x630.google.com with SMTP id u21so6086903ejz.0 for ; Sat, 22 Aug 2020 11:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:comments:mime-version :content-id:content-transfer-encoding:date:message-id; bh=QHQmrlfZcJHQjHuqsKdmshnhniM5kJ8niD7roumtecE=; b=hXZKT7w7ImzOEHBnbnjNUpaM3Xjk4RAIEZExYqxzsY/TpWkq7hjSbGkjB3IGDkNY9/ qb/amj89mNw/L0MVepNpxTTo4u+9KlB933OdQ/Pz9KpGutiqQ4qQJ0cZnFxxSaILzNJL NBBAWFQnjyBvHXcYeF7QsHIvL7nfpYKbg+bVwfhNOYodUfKh4W5wyoXUPBFj4hGR9D2U qU2gxkFw9ASdJtYtyYACyvEJnxBN9qxBzthpSIPoVpesNwCeqkYmVk0GB2EuZj1B1oSM a+DKHna55Cf3APIfJww2tRRliuhGtHXRQqXhnS/HHNWX/x9whpE2B69wkXsWaVJrkNXg anjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :comments:mime-version:content-id:content-transfer-encoding:date :message-id; bh=QHQmrlfZcJHQjHuqsKdmshnhniM5kJ8niD7roumtecE=; b=ea282ahpyMA+XSGgSY2AyctTl9bMQBJ9biLTDUcZ2E8hJkWm6YGdpAkrsrH0FHcoeT tjoN0IVDxEGZor+CfUlzSWchFr7zKr3fp2baPf4iajefk821BNcxjMDGa7sv4H7SkP1b gtY0KJX+6BbudTxzeiAsBQhhAn/u4AjCvI3sHJZ1MgphMn/1IaXIEGW1GFKMOUS2bVzS u3sTHzpvzfz4uEpenuuPCeUvcw0k7C/EICkmEkRepfXEjRHHpUIpswYcz6piwmI7W3hr 8F69/E/9E2u+zhvmXQASu62lMT5TkahgOfybejy4YHuiCpekiaBhNVEaFIo7oPDQ+SKq Qy4w== X-Gm-Message-State: AOAM532E7idoAPfHyL2lnl0fgU4wd3BrMy0Z47D0m3tIYEKgwJ/+ypZv O7D8VChG4F9GcM4LAssFOmu3Rg== X-Google-Smtp-Source: ABdhPJynml9Bprcy4THASlclGjexyi7hOG9sLoC5U5ovEhA/rXENndIjVyW+fyNQF/T3n16VenjwSg== X-Received: by 2002:a17:906:b157:: with SMTP id bt23mr8723296ejb.354.1598122025635; Sat, 22 Aug 2020 11:47:05 -0700 (PDT) Received: from antos (85-207-121-76.static.bluetone.cz. [85.207.121.76]) by smtp.gmail.com with ESMTPSA id h19sm3698378ejy.79.2020.08.22.11.47.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Aug 2020 11:47:05 -0700 (PDT) From: Antonin Houska To: Bruce Momjian cc: tgl@sss.pgh.pa.us, andres@anarazel.de, pgsql-hackers@lists.postgresql.org Subject: Re: xl_heap_header alignment? 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> Comments: In-reply-to Bruce Momjian message dated "Fri, 21 Aug 2020 20:40:48 -0400." X-Mailer: MH-E 8.6+git; nmh 1.7; GNU Emacs 26.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <81793.1598122134.1@antos> Content-Transfer-Encoding: quoted-printable Date: Sat, 22 Aug 2020 20:48:54 +0200 Message-ID: <81794.1598122134@antos> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Momjian wrote: > On Wed, Jul 22, 2020 at 06:58:33AM +0200, Antonin Houska wrote: > > Tom Lane 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 commen= t just > > made me worried that I might be missing some fundamental concept. Than= ks 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 t= o 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 t= hat the storage used to be free due to padding, and that it's no longer so, bu= t it's still "cheap", so it's not worth to teach the REDO functions to compu= te the value. -- = Antonin Houska Web: https://www.cybertec-postgresql.com