Skip site navigation (1) Skip section navigation (2)

Re: BUG #5617: pg_restore behaves unexpectedly on 'invalid' command line

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Leo Shklovskii" <leo(at)thermopylae(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5617: pg_restore behaves unexpectedly on 'invalid' command line
Date: 2010-08-13 13:59:17
Message-ID: 22667.1281707957@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Leo Shklovskii" <leo(at)thermopylae(dot)net> writes:
> If I put options after the filename to use for pg_restore.exe then it
> behaves in a very unintuitive way.

Hmm ... pg_dump is coded to complain about that, but pg_restore just
ignores any "extra" arguments after the filename.  I agree that's not
too good, will fix.

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Kevin GrittnerDate: 2010-08-13 13:59:24
Subject: Re: BUG #5613: cannot delete
Previous:From: Tom LaneDate: 2010-08-13 13:34:33
Subject: Re: BUG #5616: psql Doesn't Change Log files on \c

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group