pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-performance@postgresql.org
Subject: Re: Why isn't this index being used?
Date: Tue, 19 Oct 2004 11:47:18 -0400
Message-ID: <20041019154718.GG3359@phlogiston.dyndns.org> (raw)
In-Reply-To: <C6317ED2939D684C9FBE85D574CC5E620896949A@mer-exch1.corp.nasdaq.com>
References: <C6317ED2939D684C9FBE85D574CC5E620896949A@mer-exch1.corp.nasdaq.com>

On Tue, Oct 19, 2004 at 11:33:50AM -0400, Knutsen, Mark wrote:
> (Why don't replies automatically go to the list?)

Because sometimes you don't want them to.  There's been dozens of
discussions about this.  BTW, mutt has a nice feature which allows
you to reply to lists -- I imagine other MUAs have such a feature
too.

> Sure enough, quoting the constants fixes the problem.
> 
> Is it a best practice to always quote constants?

No, but it's very useful in these cases.  The problem is I believe
this is fixed in 8.0, BTW.  See the FAQ, question 4.8

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
I remember when computers were frustrating because they *did* exactly what 
you told them to.  That actually seems sort of quaint now.
		--J.D. Baldwin



view thread (4+ messages)

Message-ID: <20041019154718.GG3359@phlogiston.dyndns.org>
Permalink:  ../20041019154718.GG3359@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20041019154718.GG3359@phlogiston.dyndns.org

 · 

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: ajs@crankycanuck.ca
  Subject: Re: Why isn't this index being used?
  In-Reply-To: <20041019154718.GG3359@phlogiston.dyndns.org>

* 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