Re: psql \i handling ~ in specified file name

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: psql \i handling ~ in specified file name
Дата
Msg-id 3FFD9B20.2070701@commandprompt.com
обсуждение исходный текст
Ответ на Re: psql \i handling ~ in specified file name  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: psql \i handling ~ in specified file name  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches

As I remember, MSDOS uses the "~" to specify short versions of long file
names.
I is not just msdos, it is cmd.exe which exists on (to my knowledge) all versions of windows. For example:
Program Files == progra~1




  I think that is enough for us to say that we are best leaving
'~' expansion only for Unix.  We already dump COPY in a native Win32
format, so it seems we should handle special characters in a similar
native way.

I will add a comment to this affect in the source code.
 


-- 
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-222-2783 - jd@commandprompt.com - http://www.commandprompt.com

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: psql \i handling ~ in specified file name
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: psql \i handling ~ in specified file name