> > Have you tried to use "date 'today'" rather than "now()"? As in
> > select to_char(date 'today' - 1, 'YYYY-MM-DD');
> That will still fail in 7.0.* when the selected date is a DST transition
> day, because of the bug in date-to-timestamp conversion (which will
> happen at the input to to_char()).
Ah, right. I had tested in the GMT time zone, which cures all ills :(
- Thomas