Received: from mout1.01019freenet.de (mout1.01019freenet.de [62.104.201.3]) by hub.org (8.9.3/8.9.3) with ESMTP id IAA09319 for ; Thu, 24 Jun 1999 08:10:04 -0400 (EDT) (envelope-from Michael.Meskes@gmx.net) Received: from [194.97.109.112] (helo=mx0.01019freenet.de) by mout1.01019freenet.de with esmtp (Exim 3.02 #5) id 10x8KK-000706-00; Thu, 24 Jun 1999 14:09:56 +0200 Received: from [212.81.154.18] (helo=tanja.fam-meskes.de) by mx0.01019freenet.de with esmtp (Exim 3.02 #5) id 10x8Jy-0007M5-00; Thu, 24 Jun 1999 14:09:35 +0200 Received: (from meskes@localhost) by tanja.fam-meskes.de (8.9.3/8.9.3/Debian/GNU) id IAA02068; Thu, 24 Jun 1999 08:52:07 +0200 Date: Thu, 24 Jun 1999 08:52:07 +0200 From: Michael Meskes To: Phil Moors Cc: pgsql-interfaces@postgresql.org Subject: Re: [INTERFACES] ECPG fetch broken after upgrade to 6.5 Message-ID: <19990624085207.B1390@gmx.net> Mail-Followup-To: Phil Moors , pgsql-interfaces@postgresql.org References: <37716515.9D251162@phillips.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <37716515.9D251162@phillips.com>; from Phil Moors on Wed, Jun 23, 1999 at 06:52:05PM -0400 On Wed, Jun 23, 1999 at 06:52:05PM -0400, Phil Moors wrote: > ml1.sql:364: parse error > > line 364 is: EXEC SQL FETCH pick_ip INTO :tWatMacAddress; That one is correct since the stabdard syntax is: EXEC SQL FETCH IN pick_ip INTO :tWatMacAddress; > Also of note: > > One of my programs contained no SQL code. However, I tend to run it through ecpg > out of habit. The old version would (correctly) leave things alone. However, the > new version grabs double slashes, even if they are embedded in within double > quotes. It turned these two lines: > > printf("
\n"); > printf("Select the type of address, enter it into the form and \n"); > > Into this (all one line): > > printf(" address, enter it into the form and \n"); This looks like a bug. I have to check that. Michael -- Michael Meskes | Go SF 49ers! Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire! Tel.: (+49) 2431/72651 | Use Debian GNU/Linux! Email: Michael.Meskes@gmx.net | Use PostgreSQL!