Re: Bug in pg_dump
| От | Tom Lane |
|---|---|
| Тема | Re: Bug in pg_dump |
| Дата | |
| Msg-id | 24176.1294978947@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Bug in pg_dump (Alvaro Herrera <alvherre@commandprompt.com>) |
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Joel Jacobson's message of jue ene 13 06:31:06 -0300 2011:
>> The example from Tom Lane below results in a database which is not
>> possible to correctly dump using pg_dump.
> I wouldn't care too much about that particular case -- you can't query
> any of the views either.
Yeah, the particular case is useless, but IIRC it's possible to
construct non-useless cases where there's a circular dependency
involving a view and something else (probably a function, but I'm too
lazy to try to make an example right now). pg_dump's hack to break
the circularity by separating the view from its rule can save the day
in such cases.
regards, tom lane
В списке pgsql-hackers по дате отправления: