postgresql/src/bin/pg_rewind
Heikki Linnakangas 13d856e177 Make TAP tests work on Windows.
On Windows, use listen_address=127.0.0.1 to allow TCP connections. We were
already using "pg_regress --config-auth" to set up HBA appropriately. The
standard_initdb helper function now sets up the server's
unix_socket_directories or listen_addresses in the config file, so that
they don't need to be specified in the pg_ctl command line anymore. That
way, the pg_ctl invocations in test programs don't need to differ between
Windows and Unix.

Add another helper function to configure the server's pg_hba.conf to allow
replication connections. The configuration is done similarly to "pg_regress
--config-auth": trust on domain sockets on Unix, and SSPI authentication on
Windows.

Replace calls to "cat" and "touch" programs with built-in perl code, as
those programs don't normally exist on Windows.

Add instructions in the docs on how to install IPC::Run on Windows. Adjust
vcregress.pl to not replace PERL5LIB completely in vcregress.pl, because
otherwise cannot install IPC::Run in a non-standard location easily.

Michael Paquier, reviewed by Noah Misch, some additional tweaking by me.
2015-07-29 19:17:02 +03:00
..
po Translation updates 2015-06-28 23:56:55 -04:00
t Improve logging of TAP tests. 2015-07-09 13:19:10 +03:00
.gitignore Improve logging of TAP tests. 2015-07-09 13:19:10 +03:00
copy_fetch.c pg_rewind: Improve message wording 2015-06-22 20:40:41 -04:00
datapagemap.c Fix some issues in pg_rewind. 2015-06-11 22:31:18 +09:00
datapagemap.h Add pg_rewind, for re-synchronizing a master server after failback. 2015-03-23 19:47:52 +02:00
fetch.c Minor cleanup of pg_rewind. 2015-04-15 22:52:00 +03:00
fetch.h Minor cleanup of pg_rewind. 2015-04-15 22:52:00 +03:00
file_ops.c pg_rewind: Improve message wording 2015-06-22 20:40:41 -04:00
file_ops.h Add pg_rewind, for re-synchronizing a master server after failback. 2015-03-23 19:47:52 +02:00
filemap.c pg_rewind: Improve message wording 2015-06-22 20:40:41 -04:00
filemap.h pgindent run for 9.5 2015-05-23 21:35:49 -04:00
libpq_fetch.c Fix memory leaks in pg_rewind. Several PQclear() calls were missing. 2015-07-27 20:38:44 +03:00
logging.c Minor cleanup of pg_rewind. 2015-04-15 22:52:00 +03:00
logging.h Fix some issues in pg_rewind. 2015-06-11 22:31:18 +09:00
Makefile Improve logging of TAP tests. 2015-07-09 13:19:10 +03:00
nls.mk Translation updates 2015-06-28 23:56:55 -04:00
parsexlog.c pg_rewind: Improve message wording 2015-06-22 20:40:41 -04:00
pg_rewind.c pg_rewind: Improve message wording 2015-06-22 20:40:41 -04:00
pg_rewind.h Add pg_rewind, for re-synchronizing a master server after failback. 2015-03-23 19:47:52 +02:00
RewindTest.pm Make TAP tests work on Windows. 2015-07-29 19:17:02 +03:00
timeline.c pg_rewind: Improve message wording 2015-06-22 20:40:41 -04:00