Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0D670475F85 for ; Tue, 22 Oct 2002 21:01:02 -0400 (EDT) Received: from post2.inre.asu.edu (post2.inre.asu.edu [129.219.110.73]) by postgresql.org (Postfix) with ESMTP id 5D622474E42 for ; Tue, 22 Oct 2002 21:01:01 -0400 (EDT) Received: from conversion.post2.inre.asu.edu by asu.edu (PMDF V6.1 #40111) id <0H4E00E01THMTV@asu.edu> for pgsql-admin@postgresql.org; Tue, 22 Oct 2002 18:00:58 -0700 (MST) Received: from smtp.asu.edu (smtp.asu.edu [129.219.110.107]) by asu.edu (PMDF V6.1 #40111) with ESMTP id <0H4E00C88THM4O@asu.edu> for pgsql-admin@postgresql.org; Tue, 22 Oct 2002 18:00:58 -0700 (MST) Received: from moroni.pp.asu.edu (moroni.pp.asu.edu [129.219.120.183]) by smtp.asu.edu (8.11.0/8.11.0/asu_smtp_relay,nullclient,tcp_wrapped) with ESMTP id g9N10wa20252 for ; Tue, 22 Oct 2002 18:00:58 -0700 (MST) Date: Tue, 22 Oct 2002 18:00:57 -0700 From: David Bear Subject: line length line break issue To: pgsql-admin@postgresql.org Reply-To: david.bear@asu.edu Message-id: <200210221800.57859.iddwb@moroni.pp.asu.edu> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: quoted-printable User-Agent: KMail/1.4.1 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/211 X-Sequence-Number: 6069 we had someone make a php app that was a form fill-in type of questionaire.= =20=20=20 They stored all data into postgres as vchar type columns. Now the problem = we=20 have is that=20 1) rows retrieved from select include cr/lf chars from the form, makeing a = row=20 multi lines long 2) rows are so long that their not useable and we can find a useable delime= ter=20 I've tried using=20 \pset recordsep "^"=20 (and other chars along with the caret) but it seems the postgress is not= =20 using that character. My thinking was to strip all cr/lf, the replace the= =20 caret with a newline. Then we could bring the data into something like=20 excel. The problem is the recordsep doesn't seem to work. Any thoughts? --=20 David Bear College of Public Programs/ASU