pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Phil Moors <pmoors@phillips.com>
To: pgsql-interfaces@postgresql.org
Subject: ECPG fetch broken after upgrade to 6.5
Date: Wed, 23 Jun 1999 18:52:05 -0400
Message-ID: <37716515.9D251162@phillips.com> (raw)

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@phillips.com | Speaking for himself only.
--------------------------------------------------------
cat /dev/coffee | /dev/cup | /dev/mouth | /dev/nose > /dev/keyboard



view thread (5+ messages)  latest in thread

Message-ID: <37716515.9D251162@phillips.com>
Permalink:  ../37716515.9D251162@phillips.com/
Also on:    postgresql.org/message-id/37716515.9D251162@phillips.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: pmoors@phillips.com
  Subject: Re: ECPG fetch broken after upgrade to 6.5
  In-Reply-To: <37716515.9D251162@phillips.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox