aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-10-17 15:06:38 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-10-17 15:06:38 -0400
commit5d91d78fe95f02ad44d4222411f9b72e58dd84e3 (patch)
tree239600809897279bc362b565963dcdfdca77f400 /src/backend/tcop/postgres.c
parent312f632005f36e8735d22e8d989a94ff76329493 (diff)
downloadpostgresql-5d91d78fe95f02ad44d4222411f9b72e58dd84e3.tar.gz
postgresql-5d91d78fe95f02ad44d4222411f9b72e58dd84e3.zip
Fix minor bug in isolationtester.
If the lock wait query failed, isolationtester would report the PQerrorMessage from some other connection, meaning there would be no message or an unrelated one. This seems like a pretty unlikely occurrence, but if it did happen, this bug could make it really difficult/confusing to figure out what happened. That seems to justify patching all the way back. In passing, clean up another place where the "wrong" conn was used for an error report. That one's not actually buggy because it's a different alias for the same connection, but it's still confusing to the reader.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions