Re: Backslash handling in strings

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: Backslash handling in strings
Дата
Msg-id Pine.LNX.4.44.0505311145410.7072-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на Re: Backslash handling in strings  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Backslash handling in strings  (Tom Ivar Helbekkmo <tih@eunetnorge.no>)
Re: Backslash handling in strings  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-hackers
On Tue, 31 May 2005, Tom Lane wrote:

> The case that convinced me we need to keep some sort of backslash
> capability is this: suppose you want to put a string including a tab
> into your database.  Try to do it with psql:
>     t=> insert into foo values ('<TAB>
> Guess what: you won't get anywhere, at least not unless you disable
> readline.  So it's nice to be able to use \t.

To insert a tab using readline you can press ESC followed by TAB. This
works as least in readline as it is setup in redhat/fedora (and readline
can be setup in 1000 different ways so who knows how portable this is).

-- 
/Dennis Björklund



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: A 2 phase commit weirdness
Следующее
От: Tom Ivar Helbekkmo
Дата:
Сообщение: Re: Backslash handling in strings