Kenneth Downs wrote: > I'm guessing that there is no step-wise debugger for pgsql. If there > is, then glory be and call me a dummy for not R'ing TFM. > > In fact, I've never heard of a step-wise debugger for any DB > server, am I wrong? > Yes. I've done step-wise debugging in Oracle (PL/SQL) and MS-SQL Server. MySQL even has it. For PostgreSQL, in addition to the pgfoundry solution Joshua mentioned, there's also a debugger from Enterprise DB: http://www.enterprisedb.com/products/enterprisedb_debugger.do