pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Daniel Clayton <dwbc@hotmail.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Porting embedded SQL from Oracle to Postgres
Date: Sun, 9 Oct 2005 18:54:59 -0600
Message-ID: <20051010005459.GA59531@winnie.fuhr.org> (raw)
In-Reply-To: <BAY21-F2D31A3ACF54022DE3EA72DD860@phx.gbl>
References: <BAY21-F2D31A3ACF54022DE3EA72DD860@phx.gbl>

On Mon, Oct 10, 2005 at 10:57:37AM +1300, Daniel Clayton wrote:
> It appears that the syntax EXEC SQL TYPE .. is ... ; is Oracle specific, is 
> there a matching syntax for ecpg?

ECPG appears to have at least some support for EXEC SQL TYPE: I see
code to handle it in preproc/preproc.y and some of the test programs
use it.  I haven't used it myself; maybe the programs in the source
code under src/interfaces/ecpg/test will provide helpful examples.

-- 
Michael Fuhr



view thread (3+ messages)  latest in thread

Message-ID: <20051010005459.GA59531@winnie.fuhr.org>
Permalink:  ../20051010005459.GA59531@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20051010005459.GA59531@winnie.fuhr.org

 · 

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: mike@fuhr.org, dwbc@hotmail.com
  Subject: Re: Porting embedded SQL from Oracle to Postgres
  In-Reply-To: <20051010005459.GA59531@winnie.fuhr.org>

* 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