ellen@wordbot.com writes:
> I was surprised to find that the tab character seems not to be treated
> as whitespace by psql (7.1).
The backend thinks a tab is whitespace, but psql doesn't necessarily.
Disable readline (psql -n) if you don't want tab to mean
command-completion.
regards, tom lane