Return-Path: owner-postman
Received: from LOCALHOST (LOCALHOST [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id OAA03267 for postgres-redist; Mon, 13 Jun 1994 14:08:18 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199406132108.OAA03267@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host LOCALHOST didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from hp3 ([163.206.89.3]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with ESMTP id OAA03257 for <postgres@postgres.berkeley.edu>; Mon, 13 Jun 1994 14:08:16 -0700
Message-Id: <199406132108.OAA03257@nobozo.CS.Berkeley.EDU>
Received: from hp1316 by hp3 with ESMTP
	(1.37.109.10G/16.2) id AA121981746; Mon, 13 Jun 1994 17:09:07 -0400
Received: by hp1316
	(1.37.109.10G/16.2) id AA097941746; Mon, 13 Jun 1994 17:09:06 -0400
From: ERIC M MICKELSON <emm1@lsdn.ksc.nasa.gov>
Subject: TEXT with newlines
To: postgres@postgres.Berkeley.EDU
Date: Mon, 13 Jun 94 17:09:05 EDT
Mailer: Elm [revision: 70.85]
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Mon, 13 Jun 94 14:08:18 -0700
Resent-XMts: smtp

I have just recently started using postgres so please be patient.
I'm curently experiencing trouble adding text fields using libpq from a
C++ program.  If the "C" string contains newline characters the record
fails to get appended and postgres prints:

WARN:Jun 13 16:55:27:*** scanner error: Unterminated char/string
constant

I need to get these newline characters stored or else store every line
as a different text array element (blah).  I'm sure I am missing
something simple, but please help if you can.

Thanks

------------------------------------------------------------------
Eric Mickelson                                  mail-stop: LSO-284
Lockheed Space Operations Co.                phone: (407) 861-7509
1100 Lockheed Way            
Titusville, FL 32780      e-mail: emm1@endeavour.lsdn.ksc.nasa.gov
------------------------------------------------------------------

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
