• Andrew Dunstan's avatar
    In PostgresNode.pm, don't pass SQL to psql on the command line · 11e9caff
    Andrew Dunstan authored
    The Msys shell mangles certain patterns in its command line, so avoid
    handing arbitrary SQL to psql on the command line and instead use
    IPC::Run's redirection facility for stdin. This pattern is already
    mostly whats used, but query_poll_until() was not doing the right thing.
    
    Problem discovered on the buildfarm when a new TAP test failed on msys.
    11e9caff
PostgresNode.pm 63.3 KB