pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix typalign in rangetypes statistics
Date: Sun, 20 Dec 2020 21:34:07 +0000
Message-ID: <E1kr6L9-0003uZ-CY@gemulon.postgresql.org> (raw)

Fix typalign in rangetypes statistics

6df7a9698b introduces multirange types, whose typanalyze function shares
infrastructure with range types typanalyze function.  Since 6df7a9698b,
information about type gathered by statistics is filled from typcache.
But typalign is mistakenly always set to double.  This commit fixes this
oversight.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4e1ee79e3182256d9c8ddbc1ce9c4e8419c611ff

Modified Files
--------------
src/backend/utils/adt/rangetypes_typanalyze.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1kr6L9-0003uZ-CY@gemulon.postgresql.org>
Permalink:  ../E1kr6L9-0003uZ-CY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kr6L9-0003uZ-CY@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: akorotkov@postgresql.org
  Subject: Re: pgsql: Fix typalign in rangetypes statistics
  In-Reply-To: <E1kr6L9-0003uZ-CY@gemulon.postgresql.org>
  References: <E1kr6L9-0003uZ-CY@gemulon.postgresql.org>

* 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