postgresql/src/bin/pg_controldata
Alvaro Herrera 9821492ee4 Cleanup some problems in new Perl test code
Noted by Tom Lane:
- PostgresNode had a BEGIN block which created files, contrary to
  perlmod suggestions to do that only on INIT blocks.
- Assign ports randomly rather than starting from 90600.

Noted by Noah Misch:
- Change use of no-longer-set PGPORT environment variable to $node->port
- Don't start a server in pg_controldata test
- PostgresNode was reading the PID file incorrectly; test the right
  thing, and chomp the line we read from the PID file.
- Remove an unused $devnull variable
- Use 'pg_ctl kill' instead of "kill" directly, for Windos portability.
- Make server log names more informative.

Author: Michael Paquier
2015-12-07 19:39:57 -03:00
..
po Translation updates 2015-06-28 23:56:55 -04:00
t Cleanup some problems in new Perl test code 2015-12-07 19:39:57 -03:00
.gitignore Add TAP tests for client programs 2014-04-14 21:33:46 -04:00
Makefile Fix parallel make risk with new check temp-install setup 2015-04-29 20:34:22 -04:00
nls.mk Translation updates 2014-11-16 21:32:51 -05:00
pg_controldata.c Make pg_controldata report newest XID with valid commit timestamp 2015-09-24 23:31:17 +09:00