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: 4C109B27.7050507@pws.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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?

Thanks

Russell

In response to

Responses

Browse pgsql-bugs by date

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