Re: minor: ~ not resolved in psql

Rod Taylor <rbt@rbt.ca>

From: Rod Taylor <rbt@rbt.ca>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Bas Scheffers <bas@scheffers.net>, pgsql-bugs@postgresql.org
Date: 2003-10-30T18:27:33Z
Lists: pgsql-bugs
On Thu, 2003-10-30 at 13:13, Peter Eisentraut wrote:
> Bas Scheffers writes:
> 
> > When opening a file in psql, ~ (the user's home dir) is resolved when
> > using tab completion to find the file, but when you hit enter and psql
> > actualy tries to open it, you get a file not found error.
> 
> This is not a bug.  If there is not file named ~ then it can't be opened.

If the file doesn't exist, then surely tab completion shouldn't pick it
up either.

\i ~/.b<tab><tab>  <- picks up files

After finishing a name, hit enter -- the file could not be found.