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

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Russell Smith <mr-russ(at)pws(dot)com(dot)au>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, 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 13:24:19
Message-ID: AANLkTikZyL1XXsIiMqrvQJDLhNtbpDR31JJYF5ra13zP@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Jun 10, 2010 at 3:58 AM, Russell Smith <mr-russ(at)pws(dot)com(dot)au> wrote:
> 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?

I believe this is the commit:

http://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h=3a524653d18f29676b91f740634a673b72beb6b5

It looks like the code was changed, but I don't see any doc updates.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2010-06-10 13:35:20 Re: BUG #5488: pg_dump does not quote column names -> pg_restore may fail when upgrading
Previous Message Robert Haas 2010-06-10 13:21:45 Re: BUG #5488: pg_dump does not quote column names -> pg_restore may fail when upgrading