line length line break issue

Поиск
Список
Период
Сортировка
От David Bear
Тема line length line break issue
Дата
Msg-id 200210221800.57859.iddwb@moroni.pp.asu.edu
обсуждение исходный текст
Ответы Re: line length line break issue
Список pgsql-admin
we had someone make a php app that was a form fill-in type of questionaire.
They stored all data into postgres as vchar type columns.  Now the problem we
have is that
1) rows retrieved from select include cr/lf chars from the form, makeing a row
multi lines long
2) rows are so long that their not useable and we can find a useable delimeter

I've tried using
\pset recordsep "^"
 (and other chars along with the caret) but it seems the postgress is not
using that character.  My thinking was to strip all cr/lf, the replace the
caret with a newline.  Then we could bring the data into something like
excel.

The problem is the recordsep doesn't seem to work.  Any thoughts?
--
David Bear
College of Public Programs/ASU

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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: [HACKERS] Security question : Database access control
Следующее
От: Nils-Erik Svangård
Дата:
Сообщение: Recover data from crashed HD