Re: Avoid the interpretation of \n in the psql output

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Avoid the interpretation of \n in the psql output
Дата
Msg-id 200307201928.h6KJS5q11327@candle.pha.pa.us
обсуждение исходный текст
Ответ на Avoid the interpretation of \n in the psql output  ("Bruno BAGUETTE" <pgsql-ml@baguette.net>)
Список pgsql-general
Sure, insert using \\n (double-backslash).

---------------------------------------------------------------------------

Bruno BAGUETTE wrote:
> Hello,
>
> How can I avoid the interpretation of \n in psql ?
>
> If I have a data inserted like this : 'The\ndata\nis\nthere', psql
> display
>
> The
> data
> is
> there
>
> Is there a way to have psql DISPLAYING \n but NOT interpreting it ?
>
> I'm using psql on PostgreSQL 6.5.2, just the time to extract all the
> datas from one table....  :-/
>
> Thanks in advance for your help !
>
> -------------------------------------
> Bruno BAGUETTE - pgsql-ml@baguette.net
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>                http://archives.postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: vacuum analyze after updating from CVS?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Various serverlog messages