[OPEN-ILS-GENERAL] importing elec. records to VM

Grant Johnson fgjohnson at upei.ca
Sat Oct 11 20:07:57 EDT 2008

- Not as tired this evening......

 Don't forget ...
       $  psql -U postgres evergreen
      # SELECT MAX(id)+1 FROM biblio.record_entry;

and include it the startid of marc2bre.pl !!!

This is what will remind you:
psql:Springer_set_2b_20080910_36recs.sql:5: ERROR:  duplicate key violates unique constraint "record_entry_pkey"


F. Grant Johnson
  Systems Coordinator
  Robertson Library
  University of Prince Edward Island

>>> On 2008/10/10 at 4:40 PM, in message
<b918cf3d0810101240x36be50d4g27a1912687693f42 at mail.gmail.com>, "Mike Rylander"
<mrylander at gmail.com> wrote:
> On Fri, Oct 10, 2008 at 2:52 PM, Grant Johnson <fgjohnson at upei.ca> wrote:
>> Everything SEEMS to go OK until step 4
>> # \i  ./springerout
>> "invalid Command \N"  for every record
>> Any ideas?
> To see the first error in the file, issue the following before the \i 
> command:
> \set ON_ERROR_STOP 1
> That will halt input from a file on the first error it encounters so
> you can investigate.  I suspect either a TCN or ID collision ...

More information about the Open-ils-general mailing list