projects
/
evergreen
/
pines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04eeb54
)
Merge/rebase cleanup -- authority template by id is needed
author
Mike Rylander
<mrylander@gmail.com>
Mon, 11 Jul 2011 13:51:33 +0000
(09:51 -0400)
committer
Mike Rylander
<mrylander@gmail.com>
Mon, 11 Jul 2011 17:48:31 +0000
(13:48 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/011.schema.authority.sql
patch
|
blob
|
history
diff --git
a/Open-ILS/src/sql/Pg/011.schema.authority.sql
b/Open-ILS/src/sql/Pg/011.schema.authority.sql
index
8b2a528
..
7c44d7e
100644
(file)
--- a/
Open-ILS/src/sql/Pg/011.schema.authority.sql
+++ b/
Open-ILS/src/sql/Pg/011.schema.authority.sql
@@
-286,6
+286,10
@@
BEGIN
END;
$f$ STABLE LANGUAGE PLPGSQL;
+CREATE OR REPLACE FUNCTION authority.generate_overlay_template ( BIGINT ) RETURNS TEXT AS $func$
+ SELECT authority.generate_overlay_template( marc ) FROM authority.record_entry WHERE id = $1;
+$func$ LANGUAGE SQL;
+
CREATE OR REPLACE FUNCTION authority.merge_records ( target_record BIGINT, source_record BIGINT ) RETURNS INT AS $func$
DECLARE
moved_objects INT := 0;