Re: Patch Review: Collect frequency statistics and selectivity estimation for arrays - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: Patch Review: Collect frequency statistics and selectivity estimation for arrays
Date
Msg-id CAPpHfdvM621F_hfLUUHrA+Kf7MnzH15BjjrznnGM0u1TCr421Q@mail.gmail.com
Whole thread Raw
In response to Patch Review: Collect frequency statistics and selectivity estimation for arrays  (Nathan Boley <npboley@gmail.com>)
Responses Re: Patch Review: Collect frequency statistics and selectivity estimation for arrays
List pgsql-hackers
On Fri, Jul 15, 2011 at 2:13 AM, Nathan Boley <npboley@gmail.com> wrote:
First, it makes me uncomfortable that you are using the MCV and histogram slot
kinds in a way that is very different from other data types.

I realize that tsvector uses MCV in the same way that you do but:

1) I don't like that very much either.
2) TS vector is different in that equality ( in the btree sense )
   doesn't make sense, whereas it does for arrays.
Actually, not MCV slot is used but MCELEM. It is a different slot. ps_stats view map both into same fileds. Surely, non-standard use of histogram slot should be avoided.

------
With best regards,
Alexander Korotkov.

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Small patch for GiST: move childoffnum to child
Next
From: Heikki Linnakangas
Date:
Subject: Re: Small patch for GiST: move childoffnum to child