| From: | Mark Kirkwood <markir(at)paradise(dot)net(dot)nz> |
|---|---|
| To: | Gregory Stark <stark(at)enterprisedb(dot)com> |
| Cc: | Luke Lonergan <llonergan(at)greenplum(dot)com>, Heikki Linnakangas <heikki(at)enterprisedb(dot)com>, Anton <anton200(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1 |
| Date: | 2007-11-05 05:49:26 |
| Message-ID: | 472EAEE6.2090000@paradise.net.nz |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
Gregory Stark wrote:
> cdbpathlocus_pull_above_projection
>
>
> In particular this is the function I was hoping to see. Anyways as Tom pointed
> out previously there's precedent in Postgres as well for subqueries so I'm
> sure I'll be able to do it.
>
> (But I'm still not entirely convinced putting the append member vars into the
> eclasses would be wrong btw...)
>
>
I spent today looking at getting this patch into a self contained state.
Working against HEAD I'm getting bogged down in the PathKeyItem to
PathKey/EquivalenceClass/EquivalenceMember(s) change. So I figured I'd
divide and conquer to some extent, and initially provide a patch:
- against 8.2.(5)
- self contained (i.e no mystery functions)
The next step would be to update to to HEAD. That would hopefully
provide some useful material for others working on this.
Thoughts suggestions?
regards
Mark
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gregory Stark | 2007-11-05 12:12:27 | Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1 |
| Previous Message | Greg Smith | 2007-11-05 03:06:26 | Re: Migrating to 8.3 - checkpoints and background writer |