Re: minor: ~ not resolved in psql - Mailing list pgsql-bugs

From Rod Taylor
Subject Re: minor: ~ not resolved in psql
Date
Msg-id 1067538453.14851.10.camel@jester
Whole thread Raw
In response to Re: minor: ~ not resolved in psql  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
On Thu, 2003-10-30 at 13:13, Peter Eisentraut wrote:
> Bas Scheffers writes:
>=20
> > 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.
>=20
> 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.

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: minor: ~ not resolved in psql
Next
From: Alvaro Herrera Munoz
Date:
Subject: Re: [HACKERS] Autocomplete on Postgres7.4beta5 not working?