Am Montag, 5. September 2005 11:42 schrieb Alban Hertroys:
> Reading up on ECPG, I figured it would be nice to be able to use that in
> stored procedures.
The purpose of ECPG is to provide a smooth interface for hooking in SQL calls
into C programs. If you want to have that kind of smoothness for stored
procedures, then don't write them in C in the first place. You may find that
PL/pgSQL gives you a very similar interface to ECPG.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/