falta hacer el cast de text a timestamp
select '2011-11-16 11:15:00'::timestamp + INTERVAL '15 minute'
2011/11/17 ruben avila galindo <ruben2218(at)gmail(dot)com>
> Hola cuando quiero hacer este proceso me arroja este error :
>
> ERROR: invalid input syntax for type interval: "2011-11-16 11:15:00"
>
> LINE 1: select '2011-11-16 11:15:00' + INTERVAL '15 minute'
>
> ^
>
>
> select * from tabla where fecha >='2011-11-16 14:00:00' and fecha
> <='2011-11-16 14:00:00'+ Interval '15 minute'
--
ISC Miguel Angel Hernandez Moreno