[OPEN-ILS-DEV] Two minor issues to report

Warren Layton warren.layton at gmail.com
Sat Nov 8 16:11:46 EST 2008


On Fri, Nov 7, 2008 at 9:54 AM, Jason Etheridge <jason at esilibrary.com> wrote:
> Just curious, is there a matching BEGIN near the top of the file?

Yes there is:

===================================================

SET CLIENT_ENCODING TO 'UNICODE';

BEGIN;

COPY biblio.record_entry
(active,create_date,creator,deleted,edit_date,editor,fingerprint,id,last_xact_id,marc,quality,source,tcn_source,tcn_value)
FROM '/home/opensrf/import_demo/III/iii_full.bre.sql';
COPY metabib.rec_descriptor
(audience,bib_level,cat_form,char_encoding,control_type,enc_level,item_form,item_lang,item_type,lit_form,pub_status,record,type_mat,vr_format,date1,date2)
FROM '/home/opensrf/import_demo/III/iii_full.mrd.sql';
COPY metabib.keyword_field_entry (field,source,value) FROM
'/home/opensrf/import_demo/III/iii_full.mkfe.sql';
COPY metabib.subject_field_entry (field,source,value) FROM
'/home/opensrf/import_demo/III/iii_full.msfe.sql';
COPY metabib.title_field_entry (field,source,value) FROM
'/home/opensrf/import_demo/III/iii_full.mtfe.sql';

SELECT reporter.disable_materialized_simple_record_trigger();
COPY metabib.real_full_rec (ind1,ind2,record,subfield,tag,value) FROM
'/home/opensrf/import_demo/III/iii_full.mfr.sql';
COPY metabib.author_field_entry (field,source,value) FROM
'/home/opensrf/import_demo/III/iii_full.mafe.sql';
COPY metabib.series_field_entry (field,source,value) FROM
'/home/opensrf/import_demo/III/iii_full.msefe.sql';
SELECT reporter.enable_materialized_simple_record_trigger();
-- COMMIT;

===================================================

(and although the files are located under the directory "import_demo",
the import scripts have been been copied from
Open-ILS/src/extras/import/* from the 1.4 rc1 tree).

Cheers,
  Warren


More information about the Open-ils-dev mailing list