pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix minor bug in isolationtester. 7+ messages / 1 participants [nested] [flat]
* pgsql: Fix minor bug in isolationtester. @ 2018-10-17 19:07 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-17 19:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/9958b2b2a8cc25e8d791fc965fff3f0496163be6 Modified Files -------------- src/test/isolation/isolationtester.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Fix minor bug in isolationtester. @ 2018-10-17 19:07 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-17 19:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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. Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0a21c6d9e512ad981273b74b61187ec6063de243 Modified Files -------------- src/test/isolation/isolationtester.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Fix minor bug in isolationtester. @ 2018-10-17 19:07 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-17 19:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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. Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5d91d78fe95f02ad44d4222411f9b72e58dd84e3 Modified Files -------------- src/test/isolation/isolationtester.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Fix minor bug in isolationtester. @ 2018-10-17 19:07 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-17 19:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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. Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4c68883891a560f0e4a234bd207a8e8bf43fd08f Modified Files -------------- src/test/isolation/isolationtester.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Fix minor bug in isolationtester. @ 2018-10-17 19:07 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-17 19:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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. Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7a1e7b291d0691461cff5d2ae7eff114f035f6de Modified Files -------------- src/test/isolation/isolationtester.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Fix minor bug in isolationtester. @ 2018-10-17 19:07 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-17 19:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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. Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/176f6590270c8e59e5d68b339bace9d8696d4047 Modified Files -------------- src/test/isolation/isolationtester.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Fix minor bug in isolationtester. @ 2018-10-17 19:07 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-17 19:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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. Branch ------ REL9_3_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e2501d8013b26ed017b86d9b879930ca98e71c36 Modified Files -------------- src/test/isolation/isolationtester.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2018-10-17 19:07 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-10-17 19:07 pgsql: Fix minor bug in isolationtester. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-17 19:07 pgsql: Fix minor bug in isolationtester. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-17 19:07 pgsql: Fix minor bug in isolationtester. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-17 19:07 pgsql: Fix minor bug in isolationtester. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-17 19:07 pgsql: Fix minor bug in isolationtester. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-17 19:07 pgsql: Fix minor bug in isolationtester. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-17 19:07 pgsql: Fix minor bug in isolationtester. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox