Re: Race-like failure in recovery/t/009_twophase.pl

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Craig Ringer <craig@2ndquadrant.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2017-07-03T02:27:54Z
Lists: pgsql-hackers
Craig Ringer <craig@2ndquadrant.com> writes:
> That's my bad.
> (Insert dark muttering about Perl here).

Yeah, pretty much the only good thing about Perl is it's ubiquitous.
But you could say the same of C.  Or SQL.  For a profession that's
under 70 years old, we sure spend a lot of time dealing with legacy
stuff.

			regards, tom lane


Commits

  1. Fix race condition in recovery/t/009_twophase.pl test.

  2. Fix bug in PostgresNode::query_hash's split() call.

  3. Try to improve readability of recovery/t/009_twophase.pl test.