Re: initdb in 8.3 - Mailing list pgsql-general

From Tom Lane
Subject Re: initdb in 8.3
Date
Msg-id 27854.1209045736@sss.pgh.pa.us
Whole thread Raw
In response to Re: initdb in 8.3  ("Christopher Condit" <condit@sdsc.edu>)
List pgsql-general
"Christopher Condit" <condit@sdsc.edu> writes:
> Although, once you've built the index with varchar_pattern_ops index,
> the following two (essentially equivalent) queries will run at vastly
> different speeds:
> select * from A where A.value like 'Nacho';
> select * from A where A.value = 'Nacho';

> Seems that the optimizer should catch this...

Yeah, it's on the to-do list ...
http://archives.postgresql.org/pgsql-hackers/2008-02/msg01003.php

            regards, tom lane

pgsql-general by date:

Previous
From: "Christopher Condit"
Date:
Subject: Re: initdb in 8.3
Next
From: Erik Jones
Date:
Subject: Re: Best backup setup