Have not trolled the source enough to know who specifically to thank, so a general thank you to whoever is responsible for \e(f) in psql and the command DO. I have been working on a fairly complex plpythonu function in a 9.0 database and the combination of the afore mentioned tools made the development much easier. The ability to test Python code snippets by writing DO functions inside an editor inside psql is priceless.
If you don’t know about PSQL_EDITOR already you should 😉
http://www.xenoterracide.com/2008/11/postgresql-edit-and-syntax-highlighting.html