Re: minor: ~ not resolved in psql

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: minor: ~ not resolved in psql
Дата
Msg-id 200310301824.h9UIOod20933@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: minor: ~ not resolved in psql  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: minor: ~ not resolved in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: minor: ~ not resolved in psql
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: minor: ~ not resolved in psql