From: Michael Meskes <meskes@postgresql.org>
To: Pavel PaJaSoft Janousek <janousek@fonet.cz>
Cc: Dave Broudy <shaggy@broudy.net>
Cc: PgSQL Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: [INTERFACES] ecpg cursors and scope
Date: Thu, 22 Apr 1999 17:50:17 +0200
Message-ID: <19990422175017.A926@gmx.net> (raw)
In-Reply-To: <00ab01be8be2$e4581480$0200a8c0@server.fonet2.cz>
References: <00ab01be8be2$e4581480$0200a8c0@server.fonet2.cz>
On Wed, Apr 21, 1999 at 12:36:59PM +0200, Pavel PaJaSoft Janousek wrote:
> I think, that principly is correct contructions like this:
No, to do this you need the PREPARE statement.
> ...
>
> One time I wrote this exec<space><space>sql - and ECPG say parse error
> too, but I forgot, that bad was only this two spaces between 'exec' and
> 'sql'....
Hmm, this is not good.
> Next, some 'interesting' situations I got when I use exec sql
> whenever... - scope for this is not as the program running, but as the
> source is parsing... - this is ...'-)
That's what the standard says. The whenever statement is a preprocessor
statement.
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!
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: meskes@postgresql.org, janousek@fonet.cz, shaggy@broudy.net
Subject: Re: [INTERFACES] ecpg cursors and scope
In-Reply-To: <19990422175017.A926@gmx.net>
* 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