Re: psql \i handling ~ in specified file name

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Zach Irmen <zirmen(at)shaw(dot)ca>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: psql \i handling ~ in specified file name
Date: 2004-01-08 18:02:08
Message-ID: 3FFD9B20.2070701@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)commandprompt(dot)com - http://www.commandprompt.com

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-01-08 18:02:33 Re: psql \i handling ~ in specified file name
Previous Message Bruce Momjian 2004-01-08 17:39:28 Re: psql \i handling ~ in specified file name