Roy MacGregor Paterson <roy@macgregortech.com> writes:
> ...it turns out that, despite comments about psql being quite happy
> with all whitespace, it's not: it doesn't like tab chars
Sure it does: it thinks they are requests for keyword completion.
You can turn this off (along with most other input editing features)
with the -n switch. There are more selective ways too I believe,
but I don't have the readline manual in my head ...
regards, tom lane