projects
/
migration-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
declare expand_barcode to be STABLE
[migration-tools.git]
/
sql
/
base
/
base.sql
diff --git
a/sql/base/base.sql
b/sql/base/base.sql
index
6ae7e39
..
3c12cc3
100644
(file)
--- a/
sql/base/base.sql
+++ b/
sql/base/base.sql
@@
-593,4
+593,4
@@
CREATE OR REPLACE FUNCTION migration_tools.expand_barcode (TEXT, TEXT, INTEGER,
return $barcode if (length($prefix) + length($new_barcode) + length($suffix)) > $maxlen;
return "$prefix$new_barcode$suffix";
-$$ LANGUAGE PLPERL;
+$$ LANGUAGE PLPERL STABLE;