pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shaun Thomas <sthomas@peak6.com>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Marti Raudsepp <marti@juffo.org>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Svetlin Manavski <svetlin.manavski@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: seq scan in the case of max() on the primary key column
Date: Wed, 22 Jun 2011 13:15:13 -0500
Message-ID: <4E023131.2060000@peak6.com> (raw)
In-Reply-To: <BANLkTi=g0OfJkf_tA89V+P=J=X2WWKdHPw@mail.gmail.com>
References: <BANLkTikntdSrhneCPzPutY9T-sAQpFXTMw@mail.gmail.com>
	<BANLkTikuFEyOse=sUoH0BXYrpUW=7Pp_tw@mail.gmail.com>
	<4DFA4D2F.8020101@peak6.com>
	<BANLkTim5saGCxhLCAx4nEUQ4tZuOSy65fg@mail.gmail.com>
	<4E01EA4D.3080205@peak6.com>
	<BANLkTi=g0OfJkf_tA89V+P=J=X2WWKdHPw@mail.gmail.com>

On 06/22/2011 01:12 PM, Scott Marlowe wrote:

> Given that many folks still run<  9.0 in production, the wiki page
> should really have a version of that function for older versions,
> whether it's long or not.

This version does work on anything 8.3 and above. I just lamented on 9.0 
because we decided to skip 8.4 in favor of 9.0. And as we use EDB 
instead of PostgreSQL directly, our 8.3 is actually 8.2. Got that? ;)

Sorry for the confusion.

-- 
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604
312-676-8870
sthomas@peak6.com

______________________________________________

See  http://www.peak6.com/email_disclaimer.php
for terms and conditions related to this email



view thread (15+ messages)  latest in thread

Message-ID: <4E023131.2060000@peak6.com>
Permalink:  ../4E023131.2060000@peak6.com/
Also on:    postgresql.org/message-id/4E023131.2060000@peak6.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-performance@postgresql.org
  Cc: sthomas@peak6.com, scott.marlowe@gmail.com, marti@juffo.org, magnus@hagander.net, svetlin.manavski@gmail.com
  Subject: Re: seq scan in the case of max() on the primary key column
  In-Reply-To: <4E023131.2060000@peak6.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