Received: from phc.net (smtp.phc.net [209.133.96.11]) by postgresql.org (Postfix) with ESMTP id 46B9147594C for ; Tue, 26 Mar 2002 10:50:01 -0500 (EST) Received: from phc.net (209.133.25.129) by phc.net with ESMTP (Eudora Internet Mail Server 3.0.3) for ; Tue, 26 Mar 2002 07:50:06 -0800 Message-ID: <3CA098CF.320789EB@phc.net> Date: Tue, 26 Mar 2002 07:50:39 -0800 From: Richard Emberson X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.9-21 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: PL/pgsql -> C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200203/317 X-Sequence-Number: 3851 Premise: There exists a mapping of any legal PL/pgsql procedure into the equivilent C code. Question: Has anyone every written a PL/pgsql-2-C transformer? Issues: One would really like to map the optimized PL/pgsql into C, not just the unoptimized, as coded, PL/pgsql. Optimization depends upon the state of the database; what indexes exists, etc. Richard