Code review for function default parameters patch. Fix numerous problems as
Tom Lane <tgl@sss.pgh.pa.us>
Code review for function default parameters patch. Fix numerous problems as per recent discussions. In passing this also fixes a couple of bugs in the previous variadic-parameters patch.