Re: Strangely Variable Query Performance

From: Steve <cheetah(at)tanabi(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Strangely Variable Query Performance
Date: 2007-04-12 22:24:48
Message-ID: Pine.GSO.4.64.0704121822090.17955@kittyhawk.tanabi.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches pgsql-performance

> [ itch... ] That code is just completely wrong, because the contents
> of a TEXT datum aren't guaranteed null-terminated. It'd be better to
> invoke bttextcmp and negate its result.
>
> That's not relevant to your immediate problem, but if you've noticed
> any strange behavior with your text_revop indexes, that's the reason...

The indexes have all worked, though I'll make the change anyway.
Documentation on how to code these things is pretty sketchy and I believe
I followed an example on the site if I remember right. :/

Thanks for the info though :)

Steve

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2007-04-12 22:38:54 Re: [COMMITTERS] pgsql: RESET SESSION, plus related new DDL commands.
Previous Message Jim Nasby 2007-04-12 22:24:20 Re: So are we calling it: Feature Freeze?

Browse pgsql-patches by date

  From Date Subject
Next Message Steve 2007-04-12 22:41:33 Re: Strangely Variable Query Performance
Previous Message Tom Lane 2007-04-12 22:22:49 Re: Strangely Variable Query Performance

Browse pgsql-performance by date

  From Date Subject
Next Message Steve 2007-04-12 22:41:33 Re: Strangely Variable Query Performance
Previous Message Tom Lane 2007-04-12 22:22:49 Re: Strangely Variable Query Performance