agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Matthew Price <pricem@juno.com>
To: pgsql-sql@postgresql.org
Subject: Re: Index not being used
Date: Thu, 14 Feb 2002 14:38:00 -0800
Message-ID: <web-694398@davinci.ethosmedia.com> (raw)
In-Reply-To: <20020214.170439.16294.16467@wm8.jersey.juno.com>

Matthew,

1. Is field cdate DATE or TIMESTAMP?
2. What happens with:
EXPLAIN SELECT cdate FROM sometable WHERE cdate = '2001-02-14'::DATE or
 TIMESTAMP?
3. Please time both queries and give the number of resulting rows from
 both queries.

-Josh


______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco



view thread (11+ messages)  latest in thread

Message-ID: <web-694398@davinci.ethosmedia.com>
Permalink:  ../web-694398@davinci.ethosmedia.com/
Also on:    postgresql.org/message-id/web-694398@davinci.ethosmedia.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-sql@postgresql.org
  Cc: josh@agliodbs.com, pricem@juno.com
  Subject: Re: Index not being used
  In-Reply-To: <web-694398@davinci.ethosmedia.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox