Is there any way to get the DB and schema name into error messages, particularly when the errors are logged? I'd like to be able to distinguish errors coming from the test databases from those coming from the live databases. Thanks. Karl <kop@xxxxxxxx> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend