Re: minor: ~ not resolved in psql

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Bas Scheffers <bas(at)scheffers(dot)net>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: minor: ~ not resolved in psql
Date: 2003-10-30 18:27:33
Message-ID: 1067538453.14851.10.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Brett Schwarz 2003-10-30 21:13:38 Re: [INTERFACES] pgtcl large object read/write corrupts binary data
Previous Message Bruce Momjian 2003-10-30 18:24:50 Re: minor: ~ not resolved in psql