pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Kirkwood <markir@paradise.net.nz>
To: Luke Lonergan <llonergan@greenplum.com>
Cc: Gregory Stark <stark@enterprisedb.com>
Cc: Heikki Linnakangas <heikki@enterprisedb.com>
Cc: Anton <anton200@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1
Date: Tue, 30 Oct 2007 18:46:22 +1300
Message-ID: <4726C52E.5020909@paradise.net.nz> (raw)
In-Reply-To: <C34C09CA.43C59%llonergan@greenplum.com>
References: <C34C09CA.43C59%llonergan@greenplum.com>

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



view thread (33+ messages)  latest in thread

Message-ID: <4726C52E.5020909@paradise.net.nz>
Permalink:  ../4726C52E.5020909@paradise.net.nz/
Also on:    postgresql.org/message-id/4726C52E.5020909@paradise.net.nz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: markir@paradise.net.nz, llonergan@greenplum.com, stark@enterprisedb.com, heikki@enterprisedb.com, anton200@gmail.com
  Subject: Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1
  In-Reply-To: <4726C52E.5020909@paradise.net.nz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox