]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Add debugging aid in isolationtester
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 25 Oct 2011 01:11:10 +0000 (22:11 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 25 Oct 2011 01:14:22 +0000 (22:14 -0300)
src/test/isolation/isolationtester.c

index 023e4dc222bb8ab741a500b3d6b4ab243d86eb4a..b1d49c8232015c0ab16229bc488f91725fd1e6ea 100644 (file)
@@ -482,8 +482,8 @@ run_permutation(TestSpec * testspec, int nsteps, Step ** steps)
 
                if (!PQsendQuery(conns[1 + step->session], step->sql))
                {
-                       fprintf(stdout, "failed to send query: %s\n",
-                                       PQerrorMessage(conns[1 + step->session]));
+                       fprintf(stdout, "failed to send query for step %s: %s\n",
+                                       step->name, PQerrorMessage(conns[1 + step->session]));
                        exit_nicely();
                }