From: Tom Lane <tgl@sss.pgh.pa.us>
To: Saltsgaver, Scott <scottsa@aiinet.com>
Cc: Pgsql-Interfaces (E-mail) <pgsql-interfaces@postgresql.org>
Subject: Re: Conversion of \n to \r\n
Date: Wed, 23 Aug 2000 23:47:22 -0400
Message-ID: <20923.967088842@sss.pgh.pa.us> (raw)
In-Reply-To: <7283DE19D141D111AD0E00A0C95B195503A59D68@mail2.aiinet.com>
References: <7283DE19D141D111AD0E00A0C95B195503A59D68@mail2.aiinet.com>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, scottsa@aiinet.com
Subject: Re: Conversion of \n to \r\n
In-Reply-To: <20923.967088842@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox