[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_5 updated. d1daf577b9970224110d9b191b6c0c8c8f6a2977
Evergreen Git
git at git.evergreen-ils.org
Thu May 8 17:53:49 EDT 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_5 has been updated
via d1daf577b9970224110d9b191b6c0c8c8f6a2977 (commit)
from d9416d170d5f1606fc91324b1262d27d55d86cbb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d1daf577b9970224110d9b191b6c0c8c8f6a2977
Author: Yamil Suarez <yamil at yamil.com>
Date: Thu May 8 17:37:07 2014 -0400
Documentation: add a 'where' clause to bib record import stored procedure
The stored procedure for doing bib record import was lacking a 'where'
clause in one of the update statements.
Signed-off-by: Yamil Suarez <yamil at yamil.com>
diff --git a/docs/admin_initial_setup/migrating_your_data.txt b/docs/admin_initial_setup/migrating_your_data.txt
index da466ba..e65af47 100644
--- a/docs/admin_initial_setup/migrating_your_data.txt
+++ b/docs/admin_initial_setup/migrating_your_data.txt
@@ -100,7 +100,8 @@ DECLARE stage RECORD;
BEGIN
FOR stage IN SELECT * FROM staging_records_import ORDER BY id LOOP
INSERT INTO biblio.record_entry (marc, last_xact_id) VALUES (stage.marc, 'IMPORT');
- UPDATE staging_records_import SET dest = currval('biblio.record_entry_id_seq');
+ UPDATE staging_records_import SET dest = currval('biblio.record_entry_id_seq')
+ WHERE id = stage.id;
END LOOP;
END;
$$ LANGUAGE plpgsql;
-----------------------------------------------------------------------
Summary of changes:
docs/admin_initial_setup/migrating_your_data.txt | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list