Re: Porting embedded SQL from Oracle to Postgres

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Daniel Clayton <dwbc(at)hotmail(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Porting embedded SQL from Oracle to Postgres
Date: 2005-10-10 00:54:59
Message-ID: 20051010005459.GA59531@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Meskes 2005-10-10 10:27:13 Re: Porting embedded SQL from Oracle to Postgres
Previous Message Daniel Clayton 2005-10-09 21:57:37 Porting embedded SQL from Oracle to Postgres