Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

TestLib.pm

Blame
    • Heikki Linnakangas's avatar
      13d856e1
      Make TAP tests work on Windows. · 13d856e1
      Heikki Linnakangas authored
      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.
      13d856e1
      History
      Make TAP tests work on Windows.
      Heikki Linnakangas authored
      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.