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 Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #4317: problem with comparision of datatype date Sanjay Rajdev <sanjay.rajdev@featherstoneinformatics.com>
Re: BUG #4317: problem with comparision of datatype date "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: BUG #4317: problem with comparision of datatype date Craig Ringer <craig@postnewspapers.com.au>
"Sanjay Rajdev"  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
Дата:
От: Sanjay Rajdev
Дата:
FAQ