pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Keith Gray <keith@heart.com.au>
Cc: PostgreSQL Mailing List <pgsql-sql@postgresql.org>
Subject: Re: Slow performance on MAX(primary_key)
Date: Thu, 17 Oct 2002 09:26:52 +0000
Message-ID: <200210170926.53170.dev@archonet.com> (raw)
In-Reply-To: <3DAE0883.6090709@heart.com.au>
References: <20021015071628.57518.qmail@web80304.mail.yahoo.com>
	<200210150923.15822.dev@archonet.com>
	<3DAE0883.6090709@heart.com.au>

On Thursday 17 Oct 2002 12:46 am, Keith Gray wrote:
> Getting MIN() adn MAX() seems fairly trivial to me.
>
> When is on an index or more importantly Primary
> Key it must be a common SQL.
>
> Would it be possible in the code to look at
> the field in MIN() or MAX() and if it is
> indexed use a similar method to the suggested
> SQL work around?
>
> Can I help this to happen?

Subscribe to pgsql-hackers and talk through a proposed hack there. The 
developers always seem happy to receive contributions (you've just got to 
look at the contrib folder for evidence).

-- 
  Richard Huxton



view thread (7+ messages)

Message-ID: <200210170926.53170.dev@archonet.com>
Permalink:  ../200210170926.53170.dev@archonet.com/
Also on:    postgresql.org/message-id/200210170926.53170.dev@archonet.com

 · 

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-sql@postgresql.org
  Cc: dev@archonet.com, keith@heart.com.au
  Subject: Re: Slow performance on MAX(primary_key)
  In-Reply-To: <200210170926.53170.dev@archonet.com>

* 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