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