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

Re: pg_restore ignores -C when using a restore list -L

From: Russell Smith <mr-russ(at)pws(dot)com(dot)au>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: pg_restore ignores -C when using a restore list -L
Date: 2010-06-10 07:58:31
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
On 15/05/10 05:15, Alvaro Herrera wrote:
> Excerpts from Tom Lane's message of vie may 14 13:26:06 -0400 2010:
>> However, I think -C is a special case because it's quite un-obvious
>> to the user that it effectively acts as a filter switch --- in fact a
>> de-filtering switch, because the lack of -C is what filters out the
>> DATABASE item.
>> I'm inclined to think that we should document that the output of -l
>> is restricted by -n and similar switches, but change the code so that
>> -C doesn't affect -l output.  Comments?
> +1
Was this discussed change made?  Was it backported, or only applied to head?



In response to


pgsql-bugs by date

Next:From: Hartmut GoebelDate: 2010-06-10 08:18:52
Subject: Re: BUG #5488: pg_dump does not quote column names -> pg_restore may fail when upgrading
Previous:From: Tom LaneDate: 2010-06-10 04:05:28
Subject: Re: BUG #5497: plpythonu gives cache lookup error

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