Re: proposal: pg_restore --convert-to-text
Euler Taveira <euler@timbira.com.br>
From: Euler Taveira <euler@timbira.com.br>
To: Andreas Karlsson <andreas@proxel.se>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>, pgsql-hackers <pgsql-hackers@postgresql.org>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-02-18T22:17:45Z
Lists: pgsql-hackers
Attachments
- 0001-pg_restore-supports-stdout-in-file.patch (text/x-patch) patch 0001
Em qui, 14 de fev de 2019 às 22:41, Andreas Karlsson <andreas@proxel.se> escreveu: > Agreed, "-f -" would be acceptable. I use pg_restore to stdout a lot, > but almost always manually and would have to have to remember and type > "--convert-to-text". > Since no one has stepped up, I took a stab at it. It will prohibit standard output unless '-f -' be specified. -l option also has the same restriction. It breaks backward compatibility and as Tom suggested a variant of this patch (without docs) should be applied to back branches. -- Euler Taveira Timbira - http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
Commits
-
pg_restore: Require "-f -" to mean stdout
- 413ccaa74d9a 12.0 landed