Postgres automatically inserts chr(13) whenever chr(10) is inserted

Поиск
Список
Период
Сортировка
От Dragan Matic
Тема Postgres automatically inserts chr(13) whenever chr(10) is inserted
Дата
Msg-id 4407F474.7030506@panforma.co.yu
обсуждение исходный текст
Ответы Re: Postgres automatically inserts chr(13) whenever chr(10) is inserted  (Michael Fuhr <mike@fuhr.org>)
Re: Postgres automatically inserts chr(13) whenever chr(10) is inserted  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
create table sample(column_sample varchar(500))

insert into sample(column_sample) values('this is first row of text' ||
chr(10) || 'this is second row of text')

Now, instead of just inserting chr(10), postgres inserts chr(13) +
chr(10). Is there a way to avoid this? Database is on a linux server
with SQL_ASCII encoding, clients are winXP communicating thru ODBC.

Tnx in advance

DRagan Matic



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

Предыдущее
От: Chris
Дата:
Сообщение: Re: extended index info
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Postgres automatically inserts chr(13) whenever chr(10) is inserted