Add Marque.pm.in in support-scripts.
authorJason Stephenson <jstephenson@mvlc.org>
Sat, 21 Sep 2013 18:13:47 +0000 (14:13 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Tue, 4 Feb 2014 17:55:40 +0000 (12:55 -0500)
commit3542712a4777e327d80c0c2ccf0fc5b7cf517f59
treef23dce95c579559169eebfd4849dbfc4cafe1c2c
parentbd17b2fa124c5de44c593414442af696501fd640
Add Marque.pm.in in support-scripts.

This commit creates Marque.pm.in in the support-scripts  src directory.
Marque.pm.in will be transformed into Marque.pm at build time.  Marque.pm
replaces the current marc_export scipt with a faster, DBI based alternative.
marc_export will become a symlink to Marque.pm in the ${prefix}/bin dir.

This commit also adds an upgrade script to create indexes on create_date and
edit_date in authority.record_entry.  This makes performance of the new
--since option acceptable when used on authorities.

At the moment, most features of the original marc_export are still supported.
Only mfhd export and the progress report have been omitted at this time.  A
future commit will add support for mfhd.  I am not a fan of progress output
from command line applications, though I may add that feature back in with
a switch to turn it off.

See the release notes (to be written in an upcoming commit) for design notes,
and performance information.

This is a squashed, rebased commit of previous work.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/sql/Pg/011.schema.authority.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.index.authority_record_entry.sql [new file with mode: 0644]
Open-ILS/src/support-scripts/Marque.pm.in [new file with mode: 0644]