I have installed PostgreSQL 8.1.3 on Macintosh OS X.4. I'm seeing
this:
protoaddress=# \q
could not save history to file "/Users/qdu/.psql_history": Unknown
error: 0
In fact the session is written to .psql_history... but like this:
\\q
\\d
\\dD
create\040domain\040name_code\040text;
create\040domain\040incidence\040date;
drop\040domain\040name_code;
create\040domain\040namecode\040text;
create\040table\040all_incidences\040(namecode\040namecode,\040incidence\040incidence,\040primary\040key\040(namecode,\040incidence));
\\d\040all_incidences
\\q
I.e. backspaces escaped and spaces as octal escape sequences.
Help welcome.