pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adriaan Joubert <a.joubert@k2defender.com>
To: pgsql-interfaces@postgresql.org
Subject: Bug in  translation of DEALLOCATE PREPARE
Date: Sat, 03 Apr 2004 08:35:45 +0300
Message-ID: <406E4D31.7070200@k2defender.com> (raw)


[Apologies if you see multiple of these - this is my 4th attempt to post 
in 3 days.]

Hi,

    I believe in recent interface changes changes in ecpg the
translation of 'DEALLOCATE PREPARE' were missed out. This worker fine
under 7.3.5.

Currently

EXEC SQL DEALLOCATE PREPARE foobar;

is translated to

{ ECPGdeallocate(__LINE__, ""foobar"");}

The double quotes are obviously wrong, but when I remove them the
compiler says that it now expects 3 arguments to ECPGdeallocate instead
of 2. I assume this is a trivial fix to ecpg, but I don't have the time
right now to try to understand what ecpg does internally. I'd really
appreciate it if somebody could tell me how/where ecpg needs to be fixed.

Cheers,

Adriaan





view thread (8+ messages)  latest in thread

Message-ID: <406E4D31.7070200@k2defender.com>
Permalink:  ../406E4D31.7070200@k2defender.com/
Also on:    postgresql.org/message-id/406E4D31.7070200@k2defender.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: a.joubert@k2defender.com
  Subject: Re: Bug in  translation of DEALLOCATE PREPARE
  In-Reply-To: <406E4D31.7070200@k2defender.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