Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1 - Mailing list pgsql-performance

From Mark Kirkwood
Subject Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1
Date
Msg-id 4726C52E.5020909@paradise.net.nz
Whole thread Raw
In response to Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1  ("Luke Lonergan" <llonergan@greenplum.com>)
Responses Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1  (Gregory Stark <stark@enterprisedb.com>)
Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1  ("Luke Lonergan" <llonergan@greenplum.com>)
List 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

pgsql-performance by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: Suggestions on an update query
Next
From: Tom Lane
Date:
Subject: Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1