Scott, Chris,

> I'd guess that the planner doesn't know what current_date::timestamp is 
> ahead of time, so it chooses a seq scan.

Yes, this is a known problem.  There was a single-query workaround, but I 
can't remember it right now.

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to