Re: [GENERAL] select statement against pg_stats returns inconsistent - Mailing list pgsql-hackers

From Joe Conway
Subject Re: [GENERAL] select statement against pg_stats returns inconsistent
Date
Msg-id 403BEE87.20703@joeconway.com
Whole thread Raw
In response to Re: [GENERAL] select statement against pg_stats returns inconsistent data  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [GENERAL] select statement against pg_stats returns inconsistent data  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Hoo, I'm surprised no one noticed this during 7.4 development/testing.
> The problem applies for any datatype that requires double alignment,
> which includes int8, float8, and timestamp as well as most of the
> geometric types.  pg_statistic is declared as using type "anyarray",
> and this type really needs to be marked as requiring double alignment
> so that arrays of double-aligned datatypes will come out correctly.

anyarray has been defined this way since 7.3 -- any concerns there? I
see that back then pg_statistic used text[] instead of anyarray, so
perhaps not.

Joe


pgsql-hackers by date:

Previous
From: "Dann Corbit"
Date:
Subject: Re: Is indexing broken for bigint columns?
Next
From: Peter Eisentraut
Date:
Subject: Re: Is indexing broken for bigint columns?