From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
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:24:50 |
Message-ID: | 200310301824.h9UIOod20933@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
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 I am in psql and do:
\i ~/<tab>
I see all the files in home directory. If I then type in a file name:
test=> \i ~/server.log
~/server.log: No such file or directory
I get file not found. Sure looks like a bug to me.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Rod Taylor | 2003-10-30 18:27:33 | Re: minor: ~ not resolved in psql |
Previous Message | Bas Scheffers | 2003-10-30 18:18:05 | Re: minor: ~ not resolved in psql |