Re: BUG #4317: problem with comparision of datatype date

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4317: problem with comparision of datatype date
Дата
Msg-id 29287.1216399623@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4317: problem with comparision of datatype date  ("Sanjay Rajdev" <sanjay.rajdev@featherstoneinformatics.com>)
Ответы Re: BUG #4317: problem with comparision of datatype date
Список pgsql-bugs
"Sanjay Rajdev" <sanjay.rajdev@featherstoneinformatics.com> writes:
> Here is what is happening, I have a datatype "date" column in my database
> called "somedate" there are 277 rows in the database which have "somedate" =
> "2008-07-18".

> When I execute the below query
> "select * from myTable where somedate = '2008-07-18'"
> I only get 145 rows back from the database.

Is there an index on somedate, and if so does reindexing it help?

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: BUG #4317: problem with comparision of datatype date
Следующее
От: Sanjay Rajdev
Дата:
Сообщение: Re: BUG #4317: problem with comparision of datatype date