Skip site navigation (1) Skip section navigation (2)

Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1

From: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
To: Luke Lonergan <llonergan(at)greenplum(dot)com>
Cc: Gregory Stark <stark(at)enterprisedb(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-10-30 05:46:22
Message-ID: 4726C52E.5020909@paradise.net.nz (view raw or flat)
Thread:
Lists: pgsql-performance
Luke Lonergan wrote:
> Sure - it's here:
>   http://momjian.us/mhonarc/patches_hold/msg00381.html
>
>   

To clarify - we've fixed this in Greenplum db - the patch as submitted 
is (hopefully) a hint about how to fix it in Postgres, rather than a 
working patch... as its full of non-postgres functions and macros:

CdbPathLocus_MakeHashed
cdbpathlocus_pull_above_projection
cdbpullup_findPathKeyItemInTargetList
cdbpullup_makeVar
cdbpullup_expr

Cheers

Mark

In response to

Responses

pgsql-performance by date

Next:From: Tom LaneDate: 2007-10-30 05:54:02
Subject: Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1
Previous:From: Scott MarloweDate: 2007-10-30 05:19:42
Subject: Re: Suggestions on an update query

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group