<div dir="ltr">Will this syntax work:<br /><br />fcn_stats are all in the same schema<br /><br />CREATE OR REPLACE
FUNCTIONinsert_stats(p_date date)<br />RETURNS void AS $$<br /> <br /> BEGIN<br />
insertinto stats (<br /> date,<br /> stats1,<br
/> stats2<br /> ) (select<br /> p_date,<br
/> fcn_stats1(p_date,'basic'),<br /> fcn_stats2(p_date,'basic',0)<br
/> from dual<br /> );<br />END;<br />$$ LANGUAGE 'plpgsql';<br
/> <br /></div>