Re: merge 2 dumps

Поиск
Список
Период
Сортировка
От Joao Ferreira gmail
Тема Re: merge 2 dumps
Дата
Msg-id 1226404334.5799.11.camel@debj4n.critical.pt
обсуждение исходный текст
Ответ на Re: merge 2 dumps  (Richard Huxton <dev@archonet.com>)
Ответы Re: merge 2 dumps  (Richard Huxton <dev@archonet.com>)
Re: merge 2 dumps  (Alan Hodgson <ahodgson@simkin.ca>)
Список pgsql-general
On Tue, 2008-11-11 at 11:16 +0000, Richard Huxton wrote:
> Joao Ferreira gmail wrote:
> > hello all,
> >
> > I have 2 dumps of the same Pg database in diferent instants.
> >
> > I'dd like to merge the two dumps into one single dump in order to
> > restore all data at one time.
>
> Is there any overlap in the data?

no. I don't expect that there might be overlaps. any simpler solution in
this case ?

could I just get the "COPY TO" sections from the files and load them one
after the other ?

I never tried this before...

j


>
> If so, simplest might be to restore dump1, rename all the tables,
> restore dump2 then run queries to rationalise your two sets of tables.
>


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: merge 2 dumps
Следующее
От: Sam Mason
Дата:
Сообщение: Re: Current log files when rotating?