Re: pg_dump --split patch
От | Robert Haas |
---|---|
Тема | Re: pg_dump --split patch |
Дата | |
Msg-id | AANLkTi=R-j7DPGHyhP7mGcDAHSfnqXqed2y6m3c5E8qh@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pg_dump --split patch (Joel Jacobson <joel@gluefinance.com>) |
Список | pgsql-hackers |
On Mon, Jan 3, 2011 at 2:46 PM, Joel Jacobson <joel@gluefinance.com> wrote: > My major concern of parsing the schema file is I would never fully > trust the output from the script, even if the regex is extremely > paranoid and really strict, there is still a risk it contains a bug. That could possibly be resolved by using the custom or tar formats. > If you cannot trust the output from the schema parse script, it's not > safe to use it to do a partial restore of objects. > Let's say you want to restore only a few functions from your backup > schema. I don't think this is the right solution to that problem; or at least, it's not the solution I want personally. I want something like --function=glob (and yes I do want that same thing for every other object type, too, but PARTICULARLY for functions). This might be a next-best solution to that problem, but I'm still holding out for the home run. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: