Don't output the schema

This commit is contained in:
Patrick O'brien 2016-09-15 01:45:28 +10:00
parent 1c28f761f1
commit 702bb2095e

View file

@ -50,7 +50,7 @@ func (p *pgTester) setup() error {
r, w := io.Pipe() r, w := io.Pipe()
dumpCmd.Stdout = w dumpCmd.Stdout = w
createCmd.Stdin = io.TeeReader(newFKeyDestroyer(rgxPGFkey, r), os.Stdout) createCmd.Stdin = newFKeyDestroyer(rgxPGFkey, r)
if err = dumpCmd.Start(); err != nil { if err = dumpCmd.Start(); err != nil {
return errors.Wrap(err, "failed to start pg_dump command") return errors.Wrap(err, "failed to start pg_dump command")