From 702bb2095ef478e435272b7e2408754a4c931aa5 Mon Sep 17 00:00:00 2001 From: Patrick O'brien Date: Thu, 15 Sep 2016 01:45:28 +1000 Subject: [PATCH] Don't output the schema --- templates_test/main_test/postgres_main.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates_test/main_test/postgres_main.tpl b/templates_test/main_test/postgres_main.tpl index cdd029e..d195143 100644 --- a/templates_test/main_test/postgres_main.tpl +++ b/templates_test/main_test/postgres_main.tpl @@ -50,7 +50,7 @@ func (p *pgTester) setup() error { r, w := io.Pipe() dumpCmd.Stdout = w - createCmd.Stdin = io.TeeReader(newFKeyDestroyer(rgxPGFkey, r), os.Stdout) + createCmd.Stdin = newFKeyDestroyer(rgxPGFkey, r) if err = dumpCmd.Start(); err != nil { return errors.Wrap(err, "failed to start pg_dump command")