pgsql: Fix typalign in rangetypes statistics

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix typalign in rangetypes statistics
Date: 2020-12-20 21:34:07
Message-ID: E1kr6L9-0003uZ-CY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-12-21 00:37:50 pgsql: Refactor logic to check for ASCII-only characters in string
Previous Message Tom Lane 2020-12-20 20:28:42 pgsql: Doc: fix description of how to use src/tutorial files.