Christo Du Preez wrote:
> The actual table I noticed the problem has a million rows and it still
> doesn't use indexing
So ANALYZE it.
--
Alvaro Herrera Developer, http://www.PostgreSQL.org/
"Amanece. (Ignacio Reyes)
El Cerro San Cristóbal me mira, cínicamente, con ojos de virgen"