projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
fc81fa6
)
comment
author
Jason Etheridge
<jason@esilibrary.com>
Tue, 3 Oct 2017 19:07:14 +0000 (15:07 -0400)
committer
Jason Etheridge
<jason@esilibrary.com>
Tue, 3 Oct 2017 19:07:14 +0000 (15:07 -0400)
sql/base/base.sql
patch
|
blob
|
history
diff --git
a/sql/base/base.sql
b/sql/base/base.sql
index
a39f287
..
891759a
100644
(file)
--- a/
sql/base/base.sql
+++ b/
sql/base/base.sql
@@
-2570,6
+2570,7
@@
CREATE OR REPLACE FUNCTION migration_tools.assert (BOOLEAN,TEXT,TEXT) RETURNS TE
END;
$$ LANGUAGE PLPGSQL STRICT VOLATILE;
+-- push bib sequence and return starting value for reserved range
CREATE OR REPLACE FUNCTION migration_tools.push_bib_sequence(INTEGER) RETURNS BIGINT AS $$
DECLARE
bib_count ALIAS FOR $1;