| From: | Goran Hasse <gorhas(at)gmail(dot)com> |
|---|---|
| To: | Jamie Lawrence-Jenner <jamie(dot)jenner(at)autovhc(dot)co(dot)uk> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Merge data from two databases |
| Date: | 2010-05-28 11:25:05 |
| Message-ID: | AANLkTilER8Zmuyp-ponXSDoJIMzl4BeM6URakTx13SbH@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(dot)jenner(at)autovhc(dot)co(dot)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(at)gmail(dot)com
Mob: 070-5530148
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Giles Lean | 2010-05-28 12:40:31 | Re: hi, trying to compile postgres 8.3.11 |
| Previous Message | Daniel Bausch | 2010-05-28 11:24:43 | Searching for paper about pg's optimizer cost model |