Sometimes, don't you just get board of psql? I mean, it's eS-Que-Ell. When these fits of SQL boredom hit, the Python remote console provides some relief. Giving you the ability to execute arbitrary Python code directly in the backend.
cvs -d :pserver:anonymous:@cvs.pgfoundry.org:/cvsroot/python co rc