| From: | Joseph Shraibman <jks(at)selectacast(dot)net> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | multi column analyze |
| Date: | 2003-06-19 02:26:10 |
| Message-ID: | 3EF11F42.6010405@selectacast.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Lets say I have a table like this:
id int, attrib text, value text
And I want to query like this:
SELECT id FROM mytable WHERE attrib = 'favcolor' AND value = 'red';
Suppose there are multiple possible values for attrib, but the value of value will depened
on what attrib is. The breakdown of value based on favcolor might be 20% blue, 30% green,
50% red. Is there any way to make this information available to the analyzer? 50% of the
values might be red when attrib is 'favcolor' but be a miniscule percentage overall.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Lincoln Yeoh | 2003-06-19 03:37:52 | Re: Linux supports hot-swappable hardware? [was Re: |
| Previous Message | Scott Chapman | 2003-06-19 01:59:01 | Re: plpython trigger not working |