It is probably not the most efficient, but I often use this syntax, which reads better. Select ..... where col_type_timestamp::date between '2011-01-01' and '2011-12-31' This will use a timestamp index. -- Mike Nolan
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных