summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse-api/db/schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/db/schema.sql b/gentoobrowse-api/db/schema.sql
index 36ebea6..c9c1ea4 100644
--- a/gentoobrowse-api/db/schema.sql
+++ b/gentoobrowse-api/db/schema.sql
@@ -457,7 +457,7 @@ CREATE FUNCTION newsfts(n news) RETURNS tsvector
LANGUAGE plpgsql IMMUTABLE
AS $$
BEGIN
- RETURN SUM(t) FROM (SELECT TO_TSVECTOR('english', UNNEST(n.body)) t) a;
+ RETURN gentoobrowse.SUM(t) FROM (SELECT TO_TSVECTOR('english', UNNEST(n.body)) t) a;
END
$$;
ALTER FUNCTION gentoobrowse.newsfts(n news) OWNER TO gentoo;