aboutsummaryrefslogtreecommitdiff
path: root/src/test/isolation/isolationtester.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2011-10-24 22:11:10 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2011-10-24 22:14:22 -0300
commit90d8e8ff7ee94283270cc7b2bc6a986a7cd174fc (patch)
tree668a1d709c77dff49d287b36c1ddb9406a8fa26e /src/test/isolation/isolationtester.c
parenta74a5f59137c778450bafcc1b7de505a7a4a9204 (diff)
downloadpostgresql-90d8e8ff7ee94283270cc7b2bc6a986a7cd174fc.tar.gz
postgresql-90d8e8ff7ee94283270cc7b2bc6a986a7cd174fc.zip
Add debugging aid in isolationtester
Diffstat (limited to 'src/test/isolation/isolationtester.c')
-rw-r--r--src/test/isolation/isolationtester.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/isolation/isolationtester.c b/src/test/isolation/isolationtester.c
index 023e4dc222b..b1d49c82320 100644
--- a/src/test/isolation/isolationtester.c
+++ b/src/test/isolation/isolationtester.c
@@ -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();
}