Re: [INTERFACES] ECPG fetch broken after upgrade to 6.5

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Phil Moors <pmoors(at)phillips(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] ECPG fetch broken after upgrade to 6.5
Date: 1999-06-24 06:52:07
Message-ID: 19990624085207.B1390@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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("<FORM METHOD=POST ACTION=\"http://pm2/cgi-bin/macs/ml1\">\n");
> printf("Select the type of address, enter it into the form and \n");
>
> Into this (all one line):
>
> printf("<FORM METHOD=POST ACTION=\"http: printf("Select the type of
> 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(dot)Meskes(at)gmx(dot)net | Use PostgreSQL!

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Maarten Boekhold 1999-06-24 07:36:51 Re: [INTERFACES] Performance
Previous Message Tom Ivar Helbekkmo 1999-06-24 06:23:08 Re: [INTERFACES] Performance