"Josh Berkus" <josh(at)agliodbs(dot)com> writes:
> I can't figure out how to get Explain to output to a file instead of the
> screen. Embarassing, I know, but the command seems to subbornly resist
> all command-line re-direction.
I think that in psql, EXPLAIN results (and notices in general) come out
via stderr not stdout.
regards, tom lane