Re: psql \i handling ~ in specified file name

Поиск
Список
Период
Сортировка
От Zach Irmen
Тема Re: psql \i handling ~ in specified file name
Дата
Msg-id 004e01c3c804$a725c2c0$0b01010a@ed.shawcable.net
обсуждение исходный текст
Ответ на Re: psql \i handling ~ in specified file name  (Zach Irmen <zirmen@shaw.ca>)
Ответы Re: psql \i handling ~ in specified file name  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
"Andrew Dunstan" <andrew@dunslane.net> writes:
> Zach Irmen said:
> > Can I just ifndef WIN32 and not think about it? I'm not sure how that
> > would work either.
> >
>
> If we are going to have a Windows port I don't think we should treat it as
> a poor cousin.

I guess I was thinking more about if it should be done as opposed to how it
would be done. On the one hand, I think '~' by itself has no meaning in a
normal Windows environment, so why should psql on Windows give it one? The
readline library on unix, which can be used by psql, interprets the tilde
and is the big reason why psql on unix should interpret the tilde as well.
On the other hand however, I can see consistency being important in that
giving '~' a meaning in psql should give it the same meaning regardless of
platform.

--
Zach Irmen


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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: psql \i handling ~ in specified file name
Следующее
От: Sean Chittenden
Дата:
Сообщение: Re: [GENERAL] Temporary tables and miscellaneous schemas