pgsql: Make the pg_upgrade log files contain actual commands
Make the pg_upgrade log files contain actual commands
Now the log file not only contains the output from commands executed by
system(), but also what command it was in the first place. This
arrangement makes debugging a lot simpler.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/4741e9afb93f0d769655b2d18c2b73b86f281010
Modified Files
--------------
contrib/pg_upgrade/exec.c | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
On Fri, Jun 29, 2012 at 04:12:07PM +0000, �lvaro Herrera wrote:
Make the pg_upgrade log files contain actual commands
Now the log file not only contains the output from commands executed by
system(), but also what command it was in the first place. This
arrangement makes debugging a lot simpler.
Great idea --- thanks.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +