pg_restore -d doesn't display output

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: pg_restore -d doesn't display output
Date: 2003-10-06 15:08:10
Message-ID: 200310061508.h96F8AD25196@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Does anyone know why 'pg_restore -d' doesn't display the commands being
executed, like you see when you don't use '-d':

pg_dump -Fc test >/tmp/test.db
pg_restore < /tmp/test.db
pg_restore -d test < /tmp/test.db

The first pg_restore displays the commands, while the second does not.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Harald Fuchs 2003-10-06 15:08:36 Re: count(*) slow on large tables
Previous Message Peter Eisentraut 2003-10-06 14:25:35 Re: more on initdb

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-10-06 15:17:30 Re: fix log_min_duration_statement logic error
Previous Message Alvaro Herrera Munoz 2003-10-06 14:51:02 Re: fix log_min_duration_statement logic error