Re: Conversion of \n to \r\n

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Conversion of \n to \r\n
Дата
Msg-id 20923.967088842@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Conversion of \n to \r\n  ("Saltsgaver, Scott" <scottsa@aiinet.com>)
Список pgsql-interfaces
"Saltsgaver, Scott" <scottsa@aiinet.com> writes:
> I am currently using PostgreSQL 7.02 and unixODBC driver 1.8.7 driver on an
> HP-UX 11.00 system.  I have a question on the storing and retrieving of text
> fields with new lines encoded as \n.  

> When I store the following string 

> Hello\nWorld

> and then perform a query against the row, I get back

> Hello\r\nWorld

You sure you haven't got any MicroSloth software in your food chain?
I get \n back, just as expected, using HPUX 10.20.  (I don't use ODBC
though, so maybe unixODBC is to blame.)
        regards, tom lane


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: open for other OSes!?
Следующее
От: "Peter Mount"
Дата:
Сообщение: Re: using large objects with jdbc/odbc