ERROR:  could not write block 1 of temporary file: No space left on device
HINT:  Perhaps out of disk space?

select a.id,a.title,substr(a.gist,1,240) as story,(select tmp.interval_time1(etm::text)) as etm,a.img_path as path  from ewf.story_8 a order by a.id desc OFFSET (1060*7)-7  limit 7