]> granicus.if.org Git - postgresql/commit
Fix bug in PostgresNode::query_hash's split() call.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 2 Jul 2017 21:22:09 +0000 (17:22 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 2 Jul 2017 21:22:09 +0000 (17:22 -0400)
commitefdb4f29ba9ecbddb74d3a68577f068cf034c540
treeb2461e2e0166b3b2677f5d080305e225afe9bd1b
parent4e15387d2d9d4045efd1a7b3634e5922774139fd
Fix bug in PostgresNode::query_hash's split() call.

By default, Perl's split() function drops trailing empty fields,
which is not what we want here.  Oversight in commit fb093e4cb.
We'd managed to miss it thus far thanks to the very limited usage
of this function.

Discussion: https://postgr.es/m/14837.1499029831@sss.pgh.pa.us
src/test/perl/PostgresNode.pm