Re: pg_restore --no-post-data and --post-data-only

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Joachim Wieland <joe(at)mcknight(dot)de>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Jim Nasby <jim(at)nasby(dot)net>
Subject: Re: pg_restore --no-post-data and --post-data-only
Date: 2011-12-09 03:30:27
Message-ID: 4EE180D3.2000601@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/8/11 9:18 PM, Joachim Wieland wrote:
> If you ask pg_restore to restore a section out of an archive which
> doesn't have this section, there is no error and the command just
> succeeds. This is what I expected and I think it's the right thing to
> do but maybe others think that
> there should be a warning.

Andrew and I discussed this previously. It's consistent with how we
treat other options in pg_restore. It may be that we should be
consistently treating all options differently, but I don't think that's
specific to this patch.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Shulgin 2011-12-09 11:03:32 Re: Notes on implementing URI syntax for libpq
Previous Message Joachim Wieland 2011-12-09 02:18:03 Re: pg_restore --no-post-data and --post-data-only