pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matt Clark <matt@ymogen.net>
To: scott.marlowe <scott.marlowe@ihs.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: slow plan for min/max
Date: Tue, 9 Sep 2003 00:38:36 +0100
Message-ID: <LFEIJBEOKGPDHCEMDGNFIEGHCAAA.matt@ymogen.net> (raw)
In-Reply-To: <LFEIJBEOKGPDHCEMDGNFEEGGCAAA.matt@ymogen.net>

> Actually, referring down to later parts of this thread, why can't this
> optimisation be performed internally for built-in types?  I understand the
> issue with aggregates over user-defined types, but surely optimising max()
> for int4, text, etc is safe and easy?

Sorry, missed the bit about user-defined functions.  So I should have said
built-in functions operating over built-in types.  Which does sound more
complicated, but anyone redefining max() is surely not in a position to seek
sympathy if they lose performance?




view thread (20+ messages)  latest in thread

Message-ID: <LFEIJBEOKGPDHCEMDGNFIEGHCAAA.matt@ymogen.net>
Permalink:  ../LFEIJBEOKGPDHCEMDGNFIEGHCAAA.matt@ymogen.net/
Also on:    postgresql.org/message-id/LFEIJBEOKGPDHCEMDGNFIEGHCAAA.matt@ymogen.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: matt@ymogen.net, scott.marlowe@ihs.com
  Subject: Re: slow plan for min/max
  In-Reply-To: <LFEIJBEOKGPDHCEMDGNFIEGHCAAA.matt@ymogen.net>
  References: <LFEIJBEOKGPDHCEMDGNFEEGGCAAA.matt@ymogen.net> <LFEIJBEOKGPDHCEMDGNFIEGHCAAA.matt@ymogen.net>

* 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