Re: [GENERAL] Indice en Date

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Arturo <arturomunive(at)gmail(dot)com>
Cc: Postgresql <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: [GENERAL] Indice en Date
Date: 2007-05-02 00:22:13
Message-ID: 20070502002213.GF5867@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda pgsql-general

Arturo escribió:

> ahhhh eso es obvio... de todas formas mi duda era saber por que cuando ponia
> WHERE
> fecha < '11-Jan-2007'::date
>
> no usaba el indice
>
> y cuando ponia
> WHERE
> fecha::date < '11-Jan-2007'::date
>
> si lo hacía
>
> en ambos casos con igual numero de filas

Es "fecha" una columna de tipo date, o es de otro tipo?

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Arturo 2007-05-02 00:42:39 Re: [GENERAL] Indice en Date
Previous Message Arturo 2007-05-01 23:59:10 Re: [GENERAL] Indice en Date

Browse pgsql-general by date

  From Date Subject
Next Message Arturo 2007-05-02 00:42:39 Re: [GENERAL] Indice en Date
Previous Message Ketema 2007-05-02 00:14:35 multidimensional arrays