pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: Andrew S Halper <ashalper@usgs.gov>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: EXEC SQL INCLUDE syntax
Date: Tue, 21 Oct 2003 09:47:17 +0200
Message-ID: <20031021074717.GA1197@feivel.fam-meskes.de> (raw)
In-Reply-To: <20031020205008.GA7558@natasha.daztcn.wr.usgs.gov>
References: <20031017224220.GA1656@natasha.daztcn.wr.usgs.gov>
	<20031020180107.GD2843@feivel.fam-meskes.de>
	<20031020205008.GA7558@natasha.daztcn.wr.usgs.gov>

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!



view thread (5+ messages)  latest in thread

Message-ID: <20031021074717.GA1197@feivel.fam-meskes.de>
Permalink:  ../20031021074717.GA1197@feivel.fam-meskes.de/
Also on:    postgresql.org/message-id/20031021074717.GA1197@feivel.fam-meskes.de

 · 

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: meskes@postgresql.org, ashalper@usgs.gov
  Subject: Re: EXEC SQL INCLUDE syntax
  In-Reply-To: <20031021074717.GA1197@feivel.fam-meskes.de>

* 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