Fix assorted portability issues in new pgbench TAP tests.

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

Commit: 869aa40a27fa4908ad4112f1079bf732d1a12e13
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-09-08T15:28:02Z
Releases: 11.0
Fix assorted portability issues in new pgbench TAP tests.

* Our own version of getopt_long doesn't support abbreviation of
long options.

* It doesn't do automatic rearrangement of non-option arguments to the end,
either.

* Test was way too optimistic about the platform independence of
NaN and Infinity outputs.  I rather imagine we might have to lose
those tests altogether, but for the moment just allow case variation
and fully spelled out Infinity.

Per buildfarm.

Files