Back-port a few PostgresNode.pm methods.
authorRobert Haas <[email protected]>
Wed, 9 Jun 2021 20:16:21 +0000 (16:16 -0400)
committerRobert Haas <[email protected]>
Wed, 9 Jun 2021 20:16:21 +0000 (16:16 -0400)
commit75212a854f991689fd6acbd51536a2912bf7461b
tree82e1fe801a6902f91058825cd79da2059b5bedf1
parent954ee4b566eebfae535905696887ffd123038fd7
Back-port a few PostgresNode.pm methods.

The 'lsn' and 'wait_for_catchup' methods only exist in v10 and
higher, but are needed in order to support a test planned test
case for a bug that exists all the way back to v9.6. To minimize
cross-branch differences in the test case, back-port these
methods.

Discussion: http://postgr.es/m/CA+TgmoaG5dmA_8Xc1WvbvftPjtwx5uzkGEHxE7MiJ+im9jynmw@mail.gmail.com
src/test/perl/PostgresNode.pm