Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 21B586341B0 for ; Wed, 25 Feb 2009 11:54:13 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 89709-01-6 for ; Wed, 25 Feb 2009 11:54:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gauss.credativ.com (gauss.credativ.com [212.112.227.254]) by mail.postgresql.org (Postfix) with ESMTP id EB397635535 for ; Wed, 25 Feb 2009 11:54:00 -0400 (AST) Received: from feivel (exit.credativ.com [87.139.82.80]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by gauss.credativ.com (Postfix) with ESMTP id 5A48A7759C; Wed, 25 Feb 2009 16:53:56 +0100 (CET) Received: by feivel (Postfix, from userid 1000) id 716504D972; Wed, 25 Feb 2009 16:54:29 +0100 (CET) Date: Wed, 25 Feb 2009 16:54:29 +0100 From: Michael Meskes To: Bob Henkel Cc: pgsql-interfaces@postgresql.org Subject: Re: C Stored Function with ECPG Message-ID: <20090225155429.GA7360@feivel.credativ.lan> Mail-Followup-To: Bob Henkel , pgsql-interfaces@postgresql.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200902/8 X-Sequence-Number: 6859 On Mon, Feb 23, 2009 at 07:04:04PM -0600, Bob Henkel wrote: > assume it's feasible to embedd ECPG in a Postgres Stored function > written in C? As Tom already pointed out it is not. I always played with the idea of implementing an additional ecpg interface based on spi instead of libpq but never started working on it. Sorry. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!