From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | "Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com> |
Cc: | "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: problem with loading from file |
Date: | 2002-08-14 12:49:17 |
Message-ID: | 1029329357.28727.1.camel@linda |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, 2002-08-14 at 13:28, Johnson, Shaunn wrote:
> Howdy:
>
> I've been trying to restore a large table from file
> using the psql -U <user> -d <database> -f <file>
> method and I keep getting the errors about
> the index. I've tried to load it a few times and
> I get the same thing (error). I do look through
> and drop the index before loading again.
>
> What am I doing wrong?
> psql:/var/tmp/backup_sysdates.Sat:40: ERROR: copy: line 5874678, Cannot
> insert a duplicate key into unique index t_aug4_dates_pkey
The data you are importing contains a duplicate primary key at the
specified line. Change the imported data to prevent the duplication.
--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Let us therefore come boldly unto the throne of grace,
that we may obtain mercy, and find grace to help in
time of need." Hebrews 4:16
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-08-14 13:35:31 | Re: performance with triggers depends on table size? |
Previous Message | Justin Clift | 2002-08-14 12:45:56 | Re: Sourceforge moving to DB2 |