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 8D22CD1B50C for ; Tue, 21 Oct 2003 07:47:51 +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 07422-08 for ; Tue, 21 Oct 2003 04:47:22 -0300 (ADT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by svr1.postgresql.org (Postfix) with ESMTP id 3CC29D1B525 for ; Tue, 21 Oct 2003 04:47:20 -0300 (ADT) Received: from [212.227.126.207] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1ABrEe-0008Tw-00; Tue, 21 Oct 2003 09:47:20 +0200 Received: from [80.142.146.145] (helo=fam-meskes.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1ABrEe-0006zZ-00; Tue, 21 Oct 2003 09:47:20 +0200 Received: by fam-meskes.de (Postfix, from userid 1000) id 566DF10F102; Tue, 21 Oct 2003 09:47:17 +0200 (CEST) Date: Tue, 21 Oct 2003 09:47:17 +0200 From: Michael Meskes To: Andrew S Halper Cc: pgsql-interfaces@postgresql.org Subject: Re: EXEC SQL INCLUDE syntax Message-ID: <20031021074717.GA1197@feivel.fam-meskes.de> Mail-Followup-To: Andrew S Halper , pgsql-interfaces@postgresql.org References: <20031017224220.GA1656@natasha.daztcn.wr.usgs.gov> <20031020180107.GD2843@feivel.fam-meskes.de> <20031020205008.GA7558@natasha.daztcn.wr.usgs.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031020205008.GA7558@natasha.daztcn.wr.usgs.gov> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/41 X-Sequence-Number: 4530 On Mon, Oct 20, 2003 at 01:50:08PM -0700, Andrew S Halper wrote: > Changing the single quotes to double quotes worked with the Ingres > preprocessor, but not with ecpg: > > natasha:~/nwis-4.4/common/db/midas-tools> ls -l master_table.sc > -rw-r--r-- 1 ashalper nwdba 158 Oct 20 13:46 master_table.sc > natasha:~/nwis-4.4/common/db/midas-tools> ecpg drop_table.sc > drop_table.sc:37: ERROR: Cannot open include file "master_table.sc" in line > 37 It seems ecpg parsed the statement correctly but could not find the file. IIRC double quotes mean to not search all include paths but take "." instead. 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!