X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 3AF16D1B515 for ; Mon, 20 Oct 2003 18:01:41 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 72442-10 for ; Mon, 20 Oct 2003 15:01:11 -0300 (ADT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by svr1.postgresql.org (Postfix) with ESMTP id 792DFD1B55E for ; Mon, 20 Oct 2003 15:01:08 -0300 (ADT) Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1ABeL7-0003KC-00; Mon, 20 Oct 2003 20:01:09 +0200 Received: from [80.142.180.162] (helo=fam-meskes.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1ABeL6-0007zk-00; Mon, 20 Oct 2003 20:01:08 +0200 Received: from feivel.fam-meskes.de (feivel.fam-meskes.de [172.26.14.7]) by fam-meskes.de (Postfix) with ESMTP id 7112310F30F; Mon, 20 Oct 2003 20:01:07 +0200 (CEST) Received: by feivel.fam-meskes.de (Postfix, from userid 1000) id 4152385CD7; Mon, 20 Oct 2003 20:01:07 +0200 (CEST) Date: Mon, 20 Oct 2003 20:01:07 +0200 From: Michael Meskes To: Andrew S Halper Cc: pgsql-interfaces@postgresql.org Subject: Re: EXEC SQL INCLUDE syntax Message-ID: <20031020180107.GD2843@feivel.fam-meskes.de> Mail-Followup-To: Andrew S Halper , pgsql-interfaces@postgresql.org References: <20031017224220.GA1656@natasha.daztcn.wr.usgs.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031017224220.GA1656@natasha.daztcn.wr.usgs.gov> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/39 X-Sequence-Number: 4528 On Fri, Oct 17, 2003 at 03:42:20PM -0700, Andrew S Halper wrote: > I'm trying to port some Ingres code to PostgreSQL. For Ingres, I had this > bit of ESQL: > > EXEC SQL INCLUDE '../dcl/master_table.sc'; > > which ecpg (2.10.0) can't digest with single quotes, and Ingres (2.5) esqlc > can't digest without single quotes. ecpg only accepts double quotes or no quote at all. > Can anyone tell me what the ESQL standard says, and if there is an easy I thought that ecpg does implement the standard, but I haven't checked it lately so I'm not sure. > ecpg work-around? Other than changing the code, no. It seems we do need an Ingres compatibility mode, too. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!