aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/stringutils.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2021-06-03 16:08:33 -0400
committerAndrew Dunstan <andrew@dunslane.net>2021-06-03 17:29:43 -0400
commit0c92ed165ec13672d615d81a5c5fb76580f92f13 (patch)
tree30e8c12209991b3f352cdc4443ba11e7bb594061 /src/bin/psql/stringutils.c
parent4ceaa760bd8cf0e19f513a9b6fdf503037d8ff72 (diff)
downloadpostgresql-0c92ed165ec13672d615d81a5c5fb76580f92f13.tar.gz
postgresql-0c92ed165ec13672d615d81a5c5fb76580f92f13.zip
In PostgresNode.pm, don't pass SQL to psql on the command line
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.
Diffstat (limited to 'src/bin/psql/stringutils.c')
0 files changed, 0 insertions, 0 deletions