Re: Bug in pg_dump/restore -o

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: Bug in pg_dump/restore -o
Дата
Msg-id 3.0.5.32.20020118172821.02015a90@mail.rhyme.com.au
обсуждение исходный текст
Ответ на Re: Bug in pg_dump/restore -o  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
At 23:36 17/01/02 -0500, Bruce Momjian wrote:
>
>Yes, that was my proposal.  I was consindering a case where the load the
>schema just to populate a fresh database that is to be used by the
>application.  In such cases, setting the oid makes little sense.
>

Here's a patch that seems to do the trick. It may seem large, but it is
primarily a reorganization of existing code in pg_backup_db.c to make the
code a little clearer and to facilitate the swapping around of some loops.

Let me know how you go...

Bye for now,

Philip.


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                 |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Bug in pg_dump/restore -o
Следующее
От: Joe Conway
Дата:
Сообщение: Re: tuptoaster.c must *not* use SnapshotAny