Search Postgresql Archives

PQendcopy:resetting connection Problem and Cannot insert a duplicate key into unique index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I managed to restore my database. However, one table is not restored.
The error message that I was received was "copy: line 3057, Cannot insert a duplicate key into unique index users_pkey..." and then "...PQendcopy:resetting connection"

Then I went to the log file (my debug file was set to level 5),
ProcessUtility: COPY "users"  FROM stdin;
ERROR:  copy: line 3057, Cannot insert a duplicate key into unique index users_pkey"

My question is that line #3057.  Do I count it from the line where it did "COPY "users" FROM stdin" as the first line and count up to 3057 lines (that line is the problem)?


Any help is appreciated.
My pgverions is postgresql-7.1.3-2.

Thanks
Mary

------------------------------------------------
Mary Y Wang




-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux