Re: minor: ~ not resolved in psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: minor: ~ not resolved in psql
Дата
Msg-id 3394.1067552174@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: minor: ~ not resolved in psql  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: minor: ~ not resolved in psql  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> 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.

> Sure looks like a bug to me.

I think so too.  If tab completion can find the file then we ought to be
willing to open it.  Changing tab completion to not find the file would
be okay too, or at least consistent.  It's the inconsistency that leads
me to call it a bug.

            regards, tom lane

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

Предыдущее
От: "Bas Scheffers"
Дата:
Сообщение: Re: minor: ~ not resolved in psql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgtcl large object read/write corrupts binary data