diff --git a/sql/swh-init.sql b/sql/swh-init.sql index e78ac3c..b0f6345 100644 --- a/sql/swh-init.sql +++ b/sql/swh-init.sql @@ -1,13 +1,12 @@ create extension if not exists btree_gist; create extension if not exists pgcrypto; create or replace language plpgsql; -create or replace language plpython3u; create or replace function hash_sha1(text) returns text as $$ select encode(digest($1, 'sha1'), 'hex') $$ language sql strict immutable; comment on function hash_sha1(text) is 'Compute sha1 hash as text';