Re: new line in psotgres

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: new line in psotgres
Дата
Msg-id 527EE4CC.9050003@hogranch.com
обсуждение исходный текст
Ответ на Re: new line in psotgres  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Список pgsql-general
On 11/9/2013 5:33 PM, Gavin Flower wrote:
>
> I redid the above, and included at test with 'E' & '\n' - just one
> slash before the 'n'.  The other changes are mostly cosmetic.

E'....\\n....'   would be required if you were entering the string in a
programming language that itself used \ as an escape, as this way it
would pass a literal \ to postgres, which would use that to escape the n



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



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

Предыдущее
От: Gavin Flower
Дата:
Сообщение: Re: new line in psotgres
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Odd behavior in functions w/ anyarray & anyelement