John Keith Hohm <john(at)hohm(dot)net> writes:
> Thanks for telling me about LIMIT ALL being an optimization fence.
> I believe you that it is not a bug, but I admin I cannot find any
> documentation of that entitlement.
It's over here:
http://www.postgresql.org/docs/8.3/static/sql-expressions.html#SYNTAX-EXPRESS-EVAL
regards, tom lane