Re: Merge data from two databases - Mailing list pgsql-general

From Goran Hasse
Subject Re: Merge data from two databases
Date
Msg-id AANLkTilER8Zmuyp-ponXSDoJIMzl4BeM6URakTx13SbH@mail.gmail.com
Whole thread Raw
In response to Merge data from two databases  ("Jamie Lawrence-Jenner" <jamie.jenner@autovhc.co.uk>)
List pgsql-general
Actually you have to write a program to insert one database into another. This is so the program
can check for concistancy and maybe recect records or datasets that are inconsistent.

GH

2010/5/28 Jamie Lawrence-Jenner <jamie.jenner@autovhc.co.uk>

Hi There

 

We have a stats databases which has been dumped out a few times over the last year.

 

What i would now like to do is to merge these dumps into one database. The problem is is that when the dumps were done, a drop and create was carried out on the database so primary key columns will collide

 

I have three dumpes, how do i merge the data into one database please

 

Many thanks

 

Jamie




--
gorhas@gmail.com
Mob: 070-5530148

pgsql-general by date:

Previous
From: Daniel Bausch
Date:
Subject: Searching for paper about pg's optimizer cost model
Next
From: Giles Lean
Date:
Subject: Re: hi, trying to compile postgres 8.3.11