pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mario Weilguni <mweilguni@sime.com>
To: Dave Tenny <tenny@attbi.com>
To: Andreas Pflug <Andreas.Pflug@web.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: IN list processing performance (yet again)
Date: Wed, 28 May 2003 20:29:43 +0200
Message-ID: <200305282029.44152.mweilguni@sime.com> (raw)
In-Reply-To: <3ED4FB02.1010908@attbi.com>
References: <3ED4B0E5.3050703@attbi.com>
	<3ED4B75A.2050106@web.de>
	<3ED4FB02.1010908@attbi.com>

> I'm reminded to relay to the PostgreSQL devos that I might be able to do
> more in the  join or subquery department if
> PostgreSQL had better performing MAX functions and a FIRST function for
> selecting rows from groups.
> ("Performing" being the operative word here, since the extensible
> architecture of PostgreSQL currently makes for poorly
> performing MAX capabilities and presumably similar user defined
> aggregate functions).

MIN/MAX is almost in every case replaceable:
select bar
   from foo
 order by bar limit 1;

instead of
select max(bar) from foo;





view thread (23+ messages)  latest in thread

Message-ID: <200305282029.44152.mweilguni@sime.com>
Permalink:  ../200305282029.44152.mweilguni@sime.com/
Also on:    postgresql.org/message-id/200305282029.44152.mweilguni@sime.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 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: mweilguni@sime.com, tenny@attbi.com, Andreas.Pflug@web.de
  Subject: Re: IN list processing performance (yet again)
  In-Reply-To: <200305282029.44152.mweilguni@sime.com>
  References: <3ED4B0E5.3050703@attbi.com> <3ED4B75A.2050106@web.de> <3ED4FB02.1010908@attbi.com> <200305282029.44152.mweilguni@sime.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