X-Original-To: pgsql-interfaces@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2340047580B for ; Mon, 24 Feb 2003 05:26:51 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 53835-03 for ; Mon, 24 Feb 2003 05:26:40 -0500 (EST) Received: from fzkmail2.fzk.de (fzkmail2.fzk.de [141.52.27.52]) by postgresql.org (Postfix) with SMTP id AA4B9474E53 for ; Mon, 24 Feb 2003 05:26:39 -0500 (EST) Received: FROM resy5.fzk.de BY fzkmail2.fzk.de ; Mon Feb 24 11:26:40 2003 +0100 Received: œby rodos.fzk.de with ESMTP (8.8.6 (PHNE_17135)/8.7.1) id LAA07321; Mon, 24 Feb 2003 11:26:40 +0100 (MET) Message-ID: <3E59F35F.6065B5A7@rodos.fzk.de> Date: Mon, 24 Feb 2003 11:26:39 +0100 From: Christoph Haller X-Mailer: Mozilla 4.77 [en] (X11; U; HP-UX B.10.20 9000/780) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Cc: meskes@postgresql.org Subject: Re: ECPG include problem Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/98 X-Sequence-Number: 3719 > > Ingres preprocessor does parse C and CPP code as well, ecpg does not. It > only parses stuff after an exec sql keyword is found. The only way for > you get this going is to use "exec sql define" instead of "#define" as > the former is parsed an honored by ecpg. Of course you could as well try > running cpp over the files before but that won't always work. > Looks like a lack of documentation. Maybe I am wrong, but I could not find anything about the existence of "exec sql define". Regards, Christoph