Josh Berkus <josh@agliodbs.com> writes:
> RELOADING the view fixed the error.
What do you mean by "reloading the view", exactly?
> Here's the EXPLAIN plan:
The cost numbers here are very small; are the tables themselves small, or
did you reload them too?
regards, tom lane