Re: seq scan in the case of max() on the primary key column - Mailing list pgsql-performance

From Shaun Thomas
Subject Re: seq scan in the case of max() on the primary key column
Date
Msg-id 4E01EA4D.3080205@peak6.com
Whole thread Raw
In response to Re: seq scan in the case of max() on the primary key column  (Marti Raudsepp <marti@juffo.org>)
Responses Re: seq scan in the case of max() on the primary key column  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-performance
On 06/22/2011 04:55 AM, Marti Raudsepp wrote:

> With Jim Nasby's idea to use regclass instead of relation names, the
> function is now half its length and probably more reliable. There's no
> need to touch pg_class directly at all.

Sadly until we upgrade to EDB 9.0, I have to use my function. :) EDB 8.3
(which is really PostgreSQL 8.2) doesn't have a regclass->text
conversion. But I'll bookmark the wiki page anyway, so I can update my
function after upgrading. Heh.

--
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

pgsql-performance by date:

Previous
From: Marti Raudsepp
Date:
Subject: Re: seq scan in the case of max() on the primary key column
Next
From: Shaun Thomas
Date:
Subject: Re: Contemplating SSD Hardware RAID