I have an enormous sql script with an incorrect insert line somewhere. I can echo the commands to stdout as they are executed, but apparently errors go to stderr. How can I determine where the problem is?
---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster