ECPG fetch broken after upgrade to 6.5

From: Phil Moors <pmoors(at)phillips(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: ECPG fetch broken after upgrade to 6.5
Date: 1999-06-23 22:52:05
Message-ID: 37716515.9D251162@phillips.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi!

Has anyone else had this problem? I have two programs that ECPG processes
flawlessly under 6.4. However, under 6.5, I get:

ml1.sql:364: parse error

line 364 is: EXEC SQL FETCH 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");

TIA
Phil
--
pmoors(at)phillips(dot)com | Speaking for himself only.
--------------------------------------------------------
cat /dev/coffee | /dev/cup | /dev/mouth | /dev/nose > /dev/keyboard

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 1999-06-23 23:25:22 Re: [INTERFACES] pgaccess and RH 6.0?
Previous Message Steven Bradley 1999-06-23 22:05:09 Performance