Return-Path: kemnitz
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA16293; Mon, 21 Oct 91 22:03:24 -0700
Date: Mon, 21 Oct 91 22:03:24 -0700
Message-Id: <9110220503.AA16293@postgres.Berkeley.EDU>
From: kemnitz@postgres.Berkeley.EDU (Greg Kemnitz)
Subject: Re: embedding new lines in text strings?
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu


The scanner has no knowledge of type - it takes a string which is ultimately
passed to your input function.  You can pass a newline by using "\n" as in
printf, or by using a backslash to hide the newline character.

The following two strings 

"this is a text \
string"

and

"this is a text \nstring"

will be parsed as

"this is a text <newline>string"

	Greg Kemnitz
	kemnitz@postgres.berkeley.edu
